awstats.cache.php 249 Bytes
Newer Older
1
2
3
#!/usr/bin/php -q 
<?php

Alan Garcia's avatar
Alan Garcia committed
4
include("/usr/share/alternc/panel/class/config_nochk.php");
5
6

$db->query("SELECT id,hostname FROM aws;");
7
$d=array();
8
9
10
11
12
13
14
while ($db->next_record()) {
 $d[]=$db->Record;
}
foreach ($d as $r) {
 $aws->_createconf($r[0],1);
}

Alan Garcia's avatar
Alan Garcia committed
15
?>