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:03:29 -0400 |
commit | 1fff77f5de6f0cd3810a23f5b666452a5769bb1c (patch) | |
tree | 77193dabedf0380881333776080d4db2d5c53096 /lib | |
parent | 98fc56831d4f7131a50b62b770ba265df5817ee4 (diff) | |
parent | a4a897d26d15202f2cebbaa179555674d2dc19e5 (diff) | |
download | nextcloud-server-1fff77f5de6f0cd3810a23f5b666452a5769bb1c.tar.gz nextcloud-server-1fff77f5de6f0cd3810a23f5b666452a5769bb1c.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 ab1d8e98231..c3384fbeeea 100644 --- a/lib/base.php +++ b/lib/base.php @@ -491,13 +491,6 @@ class OC { require_once $vendorAutoLoad; } - // 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')) { OC\Log\ErrorHandler::setLogger(OC_Log::$object); if (defined('DEBUG') and DEBUG) { |