aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2013-06-05 12:16:19 +0000
committerRomain d'Alverny <rda@mageia.org>2013-06-05 12:16:19 +0000
commit056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d (patch)
tree23f7f91502f3f77c5188d724a7a95e4d491276bd
parent72f9093da7f0de47bc55e49ab184779d671a642b (diff)
downloadnav-056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d.tar
nav-056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d.tar.gz
nav-056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d.tar.bz2
nav-056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d.tar.xz
nav-056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d.zip
use cache path config var
-rw-r--r--html/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/index.php b/html/index.php
index 843f9b3..0450a94 100644
--- a/html/index.php
+++ b/html/index.php
@@ -49,6 +49,6 @@ 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, null, $www_host, NCache::build('var/tmp/cache'));
+echo _mgnav_html($wrap, $lang, null, $www_host, NCache::build($cache_path));
apache_note('navMakeTime', number_format(microtime() - $t0, 6)); \ No newline at end of file