Commit f85318e7 authored by Thom's avatar Thom 🛠
Browse files

Fix missing index error

parent c5e82d49
...@@ -54,6 +54,7 @@ foreach ($awprev as $key => $value) { ...@@ -54,6 +54,7 @@ foreach ($awprev as $key => $value) {
else $options .= "<option value=\"{$value}/{$awstatsindex}\">{$value}</option>\n"; else $options .= "<option value=\"{$value}/{$awstatsindex}\">{$value}</option>\n";
} }
$awstatsindex = 'awsindex.html'
$html = "<!DOCTYPE html>\n<html>\n<head>\n<title>Stats</title>\n"; $html = "<!DOCTYPE html>\n<html>\n<head>\n<title>Stats</title>\n";
$html .= "<style>\nhtml,body {margin:0px;padding:0px;width:100%;height:100%;background-color: #ccc;}\n"; $html .= "<style>\nhtml,body {margin:0px;padding:0px;width:100%;height:100%;background-color: #ccc;}\n";
$html .= "#header\n{\nwidth:100%;margin:0px auto;\nheight:20px;\nposition:fixed;\npadding:4px;\ntext-align:center;\n}\n"; $html .= "#header\n{\nwidth:100%;margin:0px auto;\nheight:20px;\nposition:fixed;\npadding:4px;\ntext-align:center;\n}\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment