diff options
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |