summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/clientscripts.php
diff options
context:
space:
mode:
authorwei <>2006-01-16 03:41:43 +0000
committerwei <>2006-01-16 03:41:43 +0000
commit4cecd6f96c26f747181639046c983ead66f28f17 (patch)
treea20573760ffea2a92de0ddf8417462098aa9c69f /framework/Web/Javascripts/js/clientscripts.php
parentce2b2803b78379a2bfca2849a5d5f8933a1634ea (diff)
Diffstat (limited to 'framework/Web/Javascripts/js/clientscripts.php')
-rw-r--r--framework/Web/Javascripts/js/clientscripts.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/js/clientscripts.php b/framework/Web/Javascripts/js/clientscripts.php
index 2bc206da..bc5d10f9 100644
--- a/framework/Web/Javascripts/js/clientscripts.php
+++ b/framework/Web/Javascripts/js/clientscripts.php
@@ -6,14 +6,13 @@
* - Add local file cache for the GZip:ed version.
*/
-if(isset($_GET['nocache']))
+if(is_int(strpos($_SERVER['REQUEST_URI'], '__nocache')))
$expiresOffset = -10000; //no cache
else
$expiresOffset = 3600 * 24 * 10; // 10 days util client cache expires
-// Get data to load
-$library = array( 'base', 'dom', 'effects', 'controls', 'logger',
- 'ajax', 'rico', 'validator', 'datepicker');
+//allowed libraries
+$library = array('prado', 'effects', 'ajax', 'validator', 'logger', 'datepicker', 'rico');
$param = isset($_GET['js']) ? $_GET['js'] : '';