Forgot to commit upgrade.php.

pull/290/merge
Joe Prochazka 2018-03-01 17:43:49 -05:00
rodzic 990ced4c77
commit c01bdc4c19
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -33,7 +33,7 @@
$common = new common();
// The most current stable release.
$thisVersion = "2.6.0";
$thisVersion = "2.6.1";
// Begin the upgrade process if this release is newer than what is installed.
if ($common->getSetting("version") == $thisVersion) {
@ -123,6 +123,15 @@
$version = "2.6.0";
}
// UPGRADE TO V2.6.1
if ($common->getSetting("version") == "2.6.0" && $success) {
$json = file_get_contents("http://localhost/install/upgrade-v2.6.1.php");
$results = json_decode($json, TRUE);
$success = $results['success'];
$message = $results['message'];
$version = "2.6.1";
}
require_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."admin".DIRECTORY_SEPARATOR."includes".DIRECTORY_SEPARATOR."header.inc.php");
// Display the instalation wizard.