Issue #2019911 by johnmcc: Add install requirement that open_basedir() = Off since 8.x currently doesn't support it.

8.0.x
Alex Pott 2013-10-23 12:55:02 -07:00
parent 6a13b6a840
commit 1ce62e0743
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@ if (ini_get('safe_mode')) {
exit;
}
// Exit early if the PHP option open_basedir is enabled to avoid fatal errors.
if (ini_get('open_basedir')) {
print 'Your PHP installation has open_basedir enabled. Drupal currently requires the open_basedir option to be turned off. See the <a href="http://www.php.net/manual/en/ini.core.php#ini.open-basedir">PHP manual</a> for details of how to do this. This issue is currently <a href="https://drupal.org/node/2110863">under discussion at drupal.org</a>.';
exit;
}
// Start the installer.
require_once __DIR__ . '/includes/install.core.inc';
install_drupal();