AlternC/awstats/awstats.cache.php

16 lines
249 B
PHP
Raw Permalink Normal View History

#!/usr/bin/php -q
<?php
2013-02-18 17:45:17 +00:00
include("/usr/share/alternc/panel/class/config_nochk.php");
$db->query("SELECT id,hostname FROM aws;");
2014-03-20 09:35:11 +00:00
$d=array();
while ($db->next_record()) {
$d[]=$db->Record;
}
foreach ($d as $r) {
$aws->_createconf($r[0],1);
}
2013-02-18 17:45:17 +00:00
?>