diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-02-02 13:24:00 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-02-02 13:24:00 +0000 |
commit | ace5ef554d3716f62ed2d671adcf9db48f3122dd (patch) | |
tree | d8e1dc101785272cda285c0552459a71d4a48f55 /_nav/html/index.php | |
parent | 68225568c930e73daaf6512886677fa72b1a2176 (diff) | |
download | www-ace5ef554d3716f62ed2d671adcf9db48f3122dd.tar www-ace5ef554d3716f62ed2d671adcf9db48f3122dd.tar.gz www-ace5ef554d3716f62ed2d671adcf9db48f3122dd.tar.bz2 www-ace5ef554d3716f62ed2d671adcf9db48f3122dd.tar.xz www-ace5ef554d3716f62ed2d671adcf9db48f3122dd.zip |
Sync with web/nav (nav.mageia.org) code base.
Diffstat (limited to '_nav/html/index.php')
-rw-r--r-- | _nav/html/index.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/_nav/html/index.php b/_nav/html/index.php index 7297f84ec..8623f0954 100644 --- a/_nav/html/index.php +++ b/_nav/html/index.php @@ -2,6 +2,8 @@ /** */ +$t0 = microtime(); + /** Below variables are defined after the document variables. */ /** URL of the document calling the service. */ @@ -30,4 +32,7 @@ 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')); + +apache_note('navMakeTime', number_format(microtime() - $t0, 6));
\ No newline at end of file |