summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 9e4e78ea0..009ad4da5 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -394,8 +394,15 @@ function drupal_initialize_variables() {
}
// Enforce E_ALL, but allow users to set levels not part of E_ALL.
error_reporting(E_ALL | error_reporting());
+
+ // Override PHP settings required for Drupal to work properly. The .htaccess
+ // file contains settings that cannot be changed at runtime. See
+ // sites/default/default.settings.php for more non-runtime settings.
+
// Prevent PHP from generating HTML errors messages.
ini_set('html_errors', 0);
+ // Don't escape quotes when reading files from disk etc.
+ ini_set('magic_quotes_runtime', '0');
}
/**