a bit more cleanup

This commit is contained in:
speedie 2023-06-28 18:06:21 +02:00
parent 77fccc4277
commit d345d9be56

View file

@ -253,10 +253,8 @@ if ($action === 'view')
$page = DEFAULT_PAGE;
}
$filename = fileNameForPage($page);
}
if ($action === 'view')
{
if ( file_exists($filename) )
if ( file_exists($filename) )
{
$text = file_get_contents($filename);
}
@ -267,6 +265,7 @@ if ($action === 'view')
die();
}
}
$oldgitmsg = "";
$triedSave = false;