diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-05-14 17:57:43 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-16 18:53:46 +0200 |
commit | f71fec8cdcb5d7d24b7dfa30dfaf24c5115e51c1 (patch) | |
tree | 4b510fcd7da78d67fa995c6daa33c3d7cd13842e /lib/app.php | |
parent | 2faae817f183e82975251d5023417e2f331971d3 (diff) | |
download | nextcloud-server-f71fec8cdcb5d7d24b7dfa30dfaf24c5115e51c1.tar.gz nextcloud-server-f71fec8cdcb5d7d24b7dfa30dfaf24c5115e51c1.zip |
Combine and minimize core and default app css files
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php index f274194b25c..39e90ada019 100644 --- a/lib/app.php +++ b/lib/app.php @@ -73,6 +73,12 @@ class OC_App{ self::$init = true; + if (!defined('DEBUG') || !DEBUG){ + if (is_null($types)) { + OC_Util::$core_styles = OC_Util::$styles; + OC_Util::$styles = array(); + } + } // return return true; } |