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