moving the maintenance.html file to the appropriate place

This commit is contained in:
JT Smith 2009-09-24 11:16:19 -05:00
parent 532f8ece6b
commit 4344007a88
3 changed files with 130 additions and 1 deletions

View file

@ -49,7 +49,7 @@ sub handler {
if ($session->setting->get("specialState") eq "upgrading") {
$session->http->sendHeader;
my $output = "";
open(my $FILE,"<",$session->config->getWebguiRoot."/docs/maintenance.html");
open(my $FILE,"<",$session->config->getWebguiRoot."/www/maintenance.html");
while (<$FILE>) {
$output .= $_;
}