aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib.php b/lib.php
index 0cc8db9..f524c45 100644
--- a/lib.php
+++ b/lib.php
@@ -199,9 +199,12 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www.
$key = array($wrap, $lang, $inject, $vhost);
if (!is_null($cache) && ($h = $cache->get($key))) {
+ apache_note('navCacheHit', 1);
return $h;
}
+ apache_note('navCacheHit', 0);
+
$lang = _lang_check($lang);
l10n::load($lang, $cache);