Dev script disable JS caching and combo loading
authorFrederic Massart <fred@moodle.com>
Wed, 19 Sep 2012 01:17:35 +0000 (09:17 +0800)
committerFrederic Massart <fred@moodle.com>
Wed, 19 Sep 2012 01:17:35 +0000 (09:17 +0800)
scripts/dev.php

index 1a8d779..c028067 100644 (file)
@@ -24,6 +24,12 @@ set_config('debugpageinfo', 1);
 // Allow themes to be changed from the URL.
 set_config('allowthemechangeonurl', 1);
 
+// Do not cache JavaScript.
+set_config('cachejs', 0);
+
+// Do not use YUI combo loading.
+set_config('yuicomboloading', 0);
+
 // Adds FirePHP
 $firephp = "
 // FirePHP