direct link to current page
[awstats-helper.git] / update-sites.php
1 <?php
2 /**
3  * Updates awstats for multiple sites
4  */
5 require_once 'functions.php';
6
7 foreach (aws_sites() as $site) {
8     aws_createHtml($site);
9     aws_createIndex($site);
10     // allow apache to work for 15 seconds (so that one can use svn commit again)
11     sleep(15);
12 }
13 aws_createGlobalIndex();
14 ?>