summaryrefslogtreecommitdiff
path: root/sites/default
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-22 13:46:11 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-22 13:46:11 +0000
commit6608f70cff82808b3c9bbc98ae3dd76d123330f0 (patch)
treeab746e095b421924b35c1ddcb8ff7dee8e0920cb /sites/default
parenteb68540da33d7a911922bf497faa999236978e06 (diff)
downloadbrdo-6608f70cff82808b3c9bbc98ae3dd76d123330f0.tar.gz
brdo-6608f70cff82808b3c9bbc98ae3dd76d123330f0.tar.bz2
- Patch #308834 by c960657: move setting of magic_quotes_runtime out of settings.php because (i) we don't want a user to change it and (ii) it gets executed a bit earlier in the Drupal bootstrap.
Diffstat (limited to 'sites/default')
-rw-r--r--sites/default/default.settings.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index 758f52b89..50b762f9c 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -188,15 +188,14 @@ $update_free_access = FALSE;
/**
* PHP settings:
*
- * To see what PHP settings are possible, including whether they can
- * be set at runtime (ie., when ini_set() occurs), read the PHP
- * documentation at http://www.php.net/manual/en/ini.php#ini.list
- * and take a look at the .htaccess file to see which non-runtime
- * settings are used there. Settings defined here should not be
- * duplicated there so as to avoid conflict issues.
+ * To see what PHP settings are possible, including whether they can be set at
+ * runtime (i.e., when ini_set() occurs), read the PHP documentation:
+ * http://www.php.net/manual/en/ini.php#ini.list
+ * See drupal_initialize_variables() in includes/bootstrap.inc for required
+ * runtime settings and the .htaccess file for non-runtime settings. Settings
+ * defined there should not be duplicated here so as to avoid conflict issues.
*/
ini_set('arg_separator.output', '&amp;');
-ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');