mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Correct spelling of Syntaxtic
This commit is contained in:
parent
756814a160
commit
c10e0fbe29
2 changed files with 3 additions and 3 deletions
|
@ -533,7 +533,7 @@ else
|
|||
$pageindex = json_decode(file_get_contents("./pageindex.json"));
|
||||
}
|
||||
|
||||
// Work around an Opera + Syntastic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
|
||||
// Work around an Opera + Syntaxtic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
|
||||
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
||||
{
|
||||
http_response_code(302);
|
||||
|
@ -901,7 +901,7 @@ register_module([
|
|||
|
||||
$state = ($pageindex->$page->protect ? "enabled" : "disabled");
|
||||
$title = "Page protection $state.";
|
||||
exit(page_renderer::render_main($title, "<p>Page protection for $env->page has been $state.</p>"));
|
||||
exit(page_renderer::render_main($title, "<p>Page protection for $env->page has been $state.</p><p><a href='?action=$env->defaultaction&page=$env->page'>Go back</a>."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
2
core.php
2
core.php
|
@ -300,7 +300,7 @@ else
|
|||
$pageindex = json_decode(file_get_contents("./pageindex.json"));
|
||||
}
|
||||
|
||||
// Work around an Opera + Syntastic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
|
||||
// Work around an Opera + Syntaxtic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
|
||||
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
||||
{
|
||||
http_response_code(302);
|
||||
|
|
Loading…
Reference in a new issue