aboutsummaryrefslogtreecommitdiffstats
path: root/html
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-06-11 12:15:18 +0000
committerRomain d'Alverny <rda@mageia.org>2012-06-11 12:15:18 +0000
commit12e18091b138db4e565f9344f0d45152ca4d8a49 (patch)
tree5f3063dcdf4d1416029c504140f5801a592ce579 /html
parent0a410429a63f58e9a55ed167b68991ad846414be (diff)
downloadnav-12e18091b138db4e565f9344f0d45152ca4d8a49.tar
nav-12e18091b138db4e565f9344f0d45152ca4d8a49.tar.gz
nav-12e18091b138db4e565f9344f0d45152ca4d8a49.tar.bz2
nav-12e18091b138db4e565f9344f0d45152ca4d8a49.tar.xz
nav-12e18091b138db4e565f9344f0d45152ca4d8a49.zip
use cache
Diffstat (limited to 'html')
-rw-r--r--html/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/html/index.php b/html/index.php
index 7297f84..dcdbb35 100644
--- a/html/index.php
+++ b/html/index.php
@@ -30,4 +30,5 @@ header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET');
header('Content-Type: text/html;charset=utf-8');
header(sprintf('Expires: %s', gmdate('r', strtotime('+1 day'))));
-echo _mgnav_html($wrap, $lang);
+
+echo _mgnav_html($wrap, $lang, null, 'www.mageia.org', NCache::build('var/tmp/cache'));