#363013 by mannkind: Use getwd() rather than realpath(__FILE__) to determine drupal root, so we don't break symlinks.