Update install file and version number

merge-requests/2/head
Mike Koch 9 years ago
parent 4b91ff12bc
commit 023ccd505f

@ -37,7 +37,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
// We will be installing this HESK version:
define('HESK_NEW_VERSION','2.6.0 beta 1');
define('MODS_FOR_HESK_NEW_VERSION','1.7.0');
define('MODS_FOR_HESK_NEW_VERSION','2.0.0');
define('REQUIRE_PHP_VERSION','5.0.0');
define('REQUIRE_MYSQL_VERSION','5.0.7');

@ -123,13 +123,15 @@ hesk_dbConnect();
$versionArray = hesk_dbFetchAssoc($versionRS);
$version = $versionArray['Value'];
echo '<div class="row">';
echo '<div class="col-sm-12">';
echo '<p id="updateText">Mods for HESK has detected that you currently have v'.$version.' installed.
if ($version != MODS_FOR_HESK_NEW_VERSION) {
echo '<div class="row">';
echo '<div class="col-sm-12">';
echo '<p id="updateText">Mods for HESK has detected that you currently have v' . $version . ' installed.
The button you should click to upgrade has been highlighted for you. However, if
Mods for HESK selected the wrong version, click <a href="javascript:void(0)" onclick="enableAllDisablable();">here</a> to reset them.</p>';
echo '</div>';
echo '</div>';
echo '</div>';
echo '</div>';
}
}
?>
<div class="row">

Loading…
Cancel
Save