diff --git a/install/updateNuMods.php b/install/updateNuMods.php index 7dcb6ab6..f6ffe6d9 100644 --- a/install/updateNuMods.php +++ b/install/updateNuMods.php @@ -61,21 +61,23 @@ if ($_GET['update'] == 1) `RangeEnd` VARCHAR(100) NOT NULL)"); hesk_dbQuery("CREATE TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."denied_emails` (ID INT NOT NULL PRIMARY KEY AUTO_INCREMENT, Email VARCHAR(100) NOT NULL);"); hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."tickets` ADD COLUMN `parent` MEDIUMINT(8) NULL AFTER `custom20`;"); - + hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `active` BIT NOT NULL DEFAULT 1 AFTER `autorefresh`"); } } ?>
-Update here. Do not use the installation below!
+If you attempted the v1.4.0 installation and it failed, use this update link. Do not use the link below!
Update here. Do not use the installation below!
-Please verify the database information below. Additionally, ensure that the database user has CREATE and ALTER permissions.
diff --git a/install/updateTo1-4-1.php b/install/updateTo1-4-1.php index 647cce67..c9332fb0 100644 --- a/install/updateTo1-4-1.php +++ b/install/updateTo1-4-1.php @@ -14,7 +14,5 @@ if (!isset($_GET['ar'])) { } hesk_dbQuery("CREATE TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."denied_emails` (ID INT NOT NULL PRIMARY KEY AUTO_INCREMENT, Email VARCHAR(100) NOT NULL);"); hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."tickets` ADD COLUMN `parent` MEDIUMINT(8) NULL AFTER `custom20`;"); -?> -Please delete the install folder for security reasons, and then proceed back to the Help Desk
\ No newline at end of file +header('Location: updateTo1-5-0.php'); \ No newline at end of file diff --git a/install/updateTo1-5-0.php b/install/updateTo1-5-0.php new file mode 100644 index 00000000..4af7b6a0 --- /dev/null +++ b/install/updateTo1-5-0.php @@ -0,0 +1,11 @@ + + +Please delete the install folder for security reasons, and then proceed back to the Help Desk
\ No newline at end of file