4 * Renders historic data for multiple sites
5 * Does not render static pages if they exist
8 * Only used during the initial setup.
10 require_once 'functions.php';
12 foreach (aws_sites() as $site) {
13 $dates = aws_historic($site);
14 foreach ($dates as $date) {
15 list($year, $month) = $date;
16 $dir = $GLOBALS['htmldir'] . '/' . $site . '/' . $year . '-' . $month . '/';
18 aws_createHtml($site, true, $year, $month);
21 aws_createIndex($site);