a bit more cleanup
This commit is contained in:
parent
77fccc4277
commit
d345d9be56
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue