Ticket #1266: patch.client-functions.php

File patch.client-functions.php, 360 bytes (added by sci2tech, 6 months ago)

Only happend when $cfgAWSTATS_ACTIVE? == "no". Patch added.

Line 
1 --- client-functions.php    2008-05-20 01:43:49.000000000 +0300
2 +++ /a/client-functions.php    2008-05-20 01:43:38.000000000 +0300
3 @@ -469,7 +469,7 @@
4      }
5  
6      if ($cfg['AWSTATS_ACTIVE'] == "no") {
7 -        $tpl->assign('ISACTIVE_AWSTATS', '');
8 +        $tpl->assign('ACTIVE_AWSTATS', '');
9      } else {
10          $tpl->assign('AWSTSTS', 'http://' . $_SERVER['HTTP_HOST'] . '/stats');
11      }
12