mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-24 17:13:01 +00:00
Updated build
This commit is contained in:
parent
0e88b7cbeb
commit
e423397dc0
2 changed files with 10 additions and 4 deletions
2
core.php
2
core.php
|
@ -819,7 +819,7 @@ switch($_GET["action"])
|
|||
$log .= "done.\n";
|
||||
|
||||
$log .= "Update complete. I am now running on the latest version of $sitename.";
|
||||
$log .= "The version number that I have updated to can be found on the credits or help ages."
|
||||
$log .= "The version number that I have updated to can be found on the credits or help ages.";
|
||||
|
||||
exit(renderpage("Update - Success", "<ul><li>" . implode("</li><li>", explode("\n", $log)) . "</li></ul>"));
|
||||
|
||||
|
|
12
index.php
12
index.php
|
@ -935,9 +935,15 @@ switch($_GET["action"])
|
|||
$code = substr($newcode, strpos($newcode, $settings_separator));
|
||||
$result = $settings . $code;
|
||||
$log .= "done.\n";
|
||||
header("content-type: text/php");
|
||||
echo("$log\n\n");
|
||||
exit($result);
|
||||
|
||||
$log .= "Saving...";
|
||||
file_put_contents(__FILE__, $result);
|
||||
$log .= "done.\n";
|
||||
|
||||
$log .= "Update complete. I am now running on the latest version of $sitename.";
|
||||
$log .= "The version number that I have updated to can be found on the credits or help ages.";
|
||||
|
||||
exit(renderpage("Update - Success", "<ul><li>" . implode("</li><li>", explode("\n", $log)) . "</li></ul>"));
|
||||
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue