diff --git a/drupal/sites/default/settings.php b/drupal/sites/default/settings.php index da9750c676..baf84b02a2 100644 --- a/drupal/sites/default/settings.php +++ b/drupal/sites/default/settings.php @@ -119,8 +119,9 @@ $db_prefix = ''; * for you. */ # $base_url = 'http://www.example.com'; // NO trailing slash! -if (file_exists('baseurl.php')) - include_once('baseurl.php'); +if (stream_resolve_include_path('baseurl.php')) { + include_once('baseurl.php'); +} /** * PHP settings: