diff options
Diffstat (limited to 'lib/app.php')
-rwxr-xr-x | lib/app.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php index 17e0e479031..667633e2647 100755 --- a/lib/app.php +++ b/lib/app.php @@ -61,6 +61,14 @@ class OC_App{ } ob_end_clean(); + 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; } |