diff options
author | Sam Tuke <samtuke@owncloud.com> | 2012-05-16 18:30:35 +0100 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2012-05-16 18:30:35 +0100 |
commit | 22dd155e4da9e9bce2f9fa22a213b909d850fe9d (patch) | |
tree | 489cd50b8ba54fee2a0b94210f34125b5bef415d /lib/app.php | |
parent | 9acd1065b0b96f5e82444e98273cc613872a8e28 (diff) | |
parent | c645a7d0f86baf2baf9777c9350c8cfd8a907084 (diff) | |
download | nextcloud-server-22dd155e4da9e9bce2f9fa22a213b909d850fe9d.tar.gz nextcloud-server-22dd155e4da9e9bce2f9fa22a213b909d850fe9d.zip |
Merge branch 'unstable' of gitorious.org:owncloud/owncloud into unstable
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php index f274194b25c..8bd095d8c6c 100644 --- a/lib/app.php +++ b/lib/app.php @@ -73,6 +73,14 @@ class OC_App{ self::$init = true; + if (!defined('DEBUG') || !DEBUG){ + if (is_null($types)) { + OC_Util::$core_scripts = OC_Util::$scripts; + OC_Util::$scripts = array(); + OC_Util::$core_styles = OC_Util::$styles; + OC_Util::$styles = array(); + } + } // return return true; } |