Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Ashraf <mohamed.ashraf.213@gmail.com>2013-09-05 22:02:16 +0400
committerMohamed Ashraf <mohamed.ashraf.213@gmail.com>2013-09-05 22:02:16 +0400
commited4771586f1bdb6e80d4b2502f4e5b07399f784f (patch)
treee43c8cfff8359833ffe2082149d43d66fffa798d /js/get_scripts.js.php
parentdaf558637d1ae98a1910943fbd629a043bad4085 (diff)
Returned the cache setting to the get_scripts.js.php file
Diffstat (limited to 'js/get_scripts.js.php')
-rw-r--r--js/get_scripts.js.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/get_scripts.js.php b/js/get_scripts.js.php
index e24a633a27..853f1c80f0 100644
--- a/js/get_scripts.js.php
+++ b/js/get_scripts.js.php
@@ -18,10 +18,8 @@ session_write_close();
// Send correct type
header('Content-Type: text/javascript; charset=UTF-8');
-// Enable browser cache for 1 hour //not
-// ================WARNING=================
-// This must be changed back before merging
-header('Expires: ' . gmdate('D, d M Y H:i:s', time() - 3600) . ' GMT');
+// Enable browser cache for 1 hour
+header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
if (! empty($_GET['scripts']) && is_array($_GET['scripts'])) {
foreach ($_GET['scripts'] as $script) {