'
. $name . '';
}
$html = <<
{$site}
XML;
file_put_contents(
$GLOBALS['htmldir'] . '/' . $site . '/index.htm',
$html
);
}
function aws_createGlobalIndex()
{
$dirs = glob($GLOBALS['htmldir'] . '/*', GLOB_ONLYDIR);
sort($dirs);
$links = '';
foreach ($dirs as $dir) {
$name = basename($dir);
$links .= ''
. $name . '';
}
$html = <<
awstats
XML;
file_put_contents(
$GLOBALS['htmldir'] . '/index.htm',
$html
);
}
?>