root/alternc-webalizer/tags/0.9.5/webalizer.cache.php

Revision 1520, 241 bytes (checked in by benjamin, 3 years ago)

replacing stats class by webalizer

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/usr/bin/php4 -q
2 <?php
3
4 include("/var/alternc/bureau/class/config_nochk.php");
5
6 $db->query("SELECT id,hostname FROM stats;");
7 while ($db->next_record()) {
8  $d[]=$db->Record;
9 }
10 foreach ($d as $r) {
11  $webalizer->_createconf($r[0],1);
12 }
13
14 ?>
15
Note: See TracBrowser for help on using the browser.