Bump to 3.0.3
This commit is contained in:
parent
2ca6d230e3
commit
80e69f3ef0
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Define the current build
|
// Define the current build
|
||||||
define('MODS_FOR_HESK_BUILD', 35);
|
define('MODS_FOR_HESK_BUILD', 37);
|
@ -37,7 +37,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
|
|||||||
|
|
||||||
// We will be installing this HESK version:
|
// We will be installing this HESK version:
|
||||||
define('HESK_NEW_VERSION','2.7.2');
|
define('HESK_NEW_VERSION','2.7.2');
|
||||||
define('MODS_FOR_HESK_NEW_VERSION','3.0.2');
|
define('MODS_FOR_HESK_NEW_VERSION','3.0.3');
|
||||||
define('REQUIRE_PHP_VERSION','5.3.0');
|
define('REQUIRE_PHP_VERSION','5.3.0');
|
||||||
define('REQUIRE_MYSQL_VERSION','5.0.7');
|
define('REQUIRE_MYSQL_VERSION','5.0.7');
|
||||||
|
|
||||||
|
@ -78,6 +78,8 @@ if ($version == 2) {
|
|||||||
execute301Scripts();
|
execute301Scripts();
|
||||||
} elseif ($version == 36) {
|
} elseif ($version == 36) {
|
||||||
execute302Scripts();
|
execute302Scripts();
|
||||||
|
} elseif ($version == 37) {
|
||||||
|
execute303Scripts();
|
||||||
} else {
|
} else {
|
||||||
$response = 'The version "' . $version . '" was not recognized. Check the value submitted and try again.';
|
$response = 'The version "' . $version . '" was not recognized. Check the value submitted and try again.';
|
||||||
print $response;
|
print $response;
|
||||||
|
@ -104,6 +104,9 @@ function processUpdates(startingVersion) {
|
|||||||
} else if (startingVersion < 36) {
|
} else if (startingVersion < 36) {
|
||||||
startVersionUpgrade('302');
|
startVersionUpgrade('302');
|
||||||
executeUpdate(36, '302', '3.0.2');
|
executeUpdate(36, '302', '3.0.2');
|
||||||
|
} else if (startingVersion < 37) {
|
||||||
|
startVersionUpgrade('303');
|
||||||
|
executeUpdate(37, '303', '3.0.3');
|
||||||
} else {
|
} else {
|
||||||
installationFinished();
|
installationFinished();
|
||||||
}
|
}
|
||||||
|
@ -118,6 +118,7 @@ hesk_dbConnect();
|
|||||||
<select name="current-version" class="form-control">
|
<select name="current-version" class="form-control">
|
||||||
<option disabled>Select One, or "No Previous Installation" Below</option>
|
<option disabled>Select One, or "No Previous Installation" Below</option>
|
||||||
<optgroup label="Mods for HESK 3">
|
<optgroup label="Mods for HESK 3">
|
||||||
|
<option value="36">3.0.2</option>
|
||||||
<option value="35">3.0.1</option>
|
<option value="35">3.0.1</option>
|
||||||
<option value="34">3.0.0</option>
|
<option value="34">3.0.0</option>
|
||||||
<option value="33">3.0.0 RC 1 [Prerelease Build]</option>
|
<option value="33">3.0.0 RC 1 [Prerelease Build]</option>
|
||||||
|
@ -952,3 +952,10 @@ function execute302Scripts() {
|
|||||||
|
|
||||||
updateVersion('3.0.2');
|
updateVersion('3.0.2');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function execute303Scripts() {
|
||||||
|
global $hesk_settings;
|
||||||
|
hesk_dbConnect();
|
||||||
|
|
||||||
|
updateVersion('3.0.3');
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user