Should have used DRUPAL_ROOT instead of $_SERVER['DOC_ROOT']

Quick patch to the pull request I made. I should have used DRUPAL_ROOT
instead of the php document root variable as the patch didn't work on a
second system otherwise