diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2014-08-15 09:03:29 -0400 |
---|---|---|
committer | Clark Tomlinson <fallen013@gmail.com> | 2014-08-15 09:18:33 -0400 |
commit | 6d6dfe23297f24e4f97293137b9744036b02f5de (patch) | |
tree | fede979415e8ccc1c30a3664966b02238cefeaf8 /lib | |
parent | b0678485090a0b09134d123a5ad24cc666eeddec (diff) | |
download | nextcloud-server-6d6dfe23297f24e4f97293137b9744036b02f5de.tar.gz nextcloud-server-6d6dfe23297f24e4f97293137b9744036b02f5de.zip |
Merge pull request #10440 from owncloud/enforce-debug
Remove ability to trigger DEBUG mode via cookie
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/base.php b/lib/base.php index b442935599c..5d7408e65da 100644 --- a/lib/base.php +++ b/lib/base.php @@ -495,13 +495,6 @@ class OC { } OC_Util::isSetLocaleWorking(); - // set debug mode if an xdebug session is active - if (!defined('DEBUG') || !DEBUG) { - if (isset($_COOKIE['XDEBUG_SESSION'])) { - define('DEBUG', true); - } - } - if (!defined('PHPUNIT_RUN')) { if (defined('DEBUG') and DEBUG) { OC\Log\ErrorHandler::register(true); |