From 69417752b18513a583da8d111e1aaf6189b7e798 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 9 Feb 2016 18:17:41 -0800 Subject: [PATCH] Fixes #1345 - Confusion over js cache. Use debug mode to enable if still required for some reason. --- e107_admin/prefs.php | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/e107_admin/prefs.php b/e107_admin/prefs.php index dacb4d55b..20cc2a17b 100644 --- a/e107_admin/prefs.php +++ b/e107_admin/prefs.php @@ -1799,12 +1799,21 @@ $text .= " $text .= " - + "; + + if(E107_DEBUG_LEVEL > 0) + { + + + $text .= " + + + @@ -1836,8 +1845,21 @@ $text .= " "; + $text .= " +
DEPRECATED Available only in DEBUG mode
".PRFLAN_248."
"; + + } + else + { + $text .= "
". + $frm->hidden('e_jslib_nocombine',1). + $frm->hidden('e_jslib_nocache', 1). + $frm->hidden('e_jslib_nobcache',1). + $frm->hidden('e_jslib_gzip',0). + "
"; + + } $text .= " - ".pref_submit('javascript')."