Updated update scripts/files
This commit is contained in:
parent
1855386878
commit
77eb9188b6
@ -3,7 +3,6 @@ define('IN_SCRIPT',1);
|
|||||||
define('HESK_PATH','../');
|
define('HESK_PATH','../');
|
||||||
require(HESK_PATH . 'install/install_functions.inc.php');
|
require(HESK_PATH . 'install/install_functions.inc.php');
|
||||||
require(HESK_PATH . 'hesk_settings.inc.php');
|
require(HESK_PATH . 'hesk_settings.inc.php');
|
||||||
|
|
||||||
$showFinished = 'none';
|
$showFinished = 'none';
|
||||||
$showInstructions = 'block';
|
$showInstructions = 'block';
|
||||||
if ($_GET['update'] == 1)
|
if ($_GET['update'] == 1)
|
||||||
@ -70,16 +69,17 @@ if ($_GET['update'] == 1)
|
|||||||
<p><a href="#">Update here.</a> <b>Do not use any of the other links below!</b></p>
|
<p><a href="#">Update here.</a> <b>Do not use any of the other links below!</b></p>
|
||||||
<h1>Update NuMods from v1.2.4 - v1.3.0 to v1.4.0</h1>
|
<h1>Update NuMods from v1.2.4 - v1.3.0 to v1.4.0</h1>
|
||||||
<p><a href="updateTo1-3-1.php">Update here</a>. <b>Do not use the installation below!</b></p>
|
<p><a href="updateTo1-3-1.php">Update here</a>. <b>Do not use the installation below!</b></p>
|
||||||
<h1>Install NuMods v1.3.1 <b>for the first time</b></h1>
|
<h1>Install NuMods v1.4.0 <b>for the first time</b></h1>
|
||||||
<h4><i>If you have not yet installed/updated HESK, please do so first before continuing; otherwise installation will <b>fail</b>!</i></h4>
|
<h4><i>If you have not yet installed/updated HESK, please do so first before continuing; otherwise installation will <b>fail</b>!</i></h4>
|
||||||
<br/>
|
<br/>
|
||||||
<p>Please verify the database information below. Additionally, ensure that the database user has CREATE permissions.</p>
|
<p>Please verify the database information below. Additionally, ensure that the database user has CREATE and ALTER permissions.</p>
|
||||||
<p><b>Database Host: </b> <?php echo $hesk_settings['db_host']; ?></p>
|
<p><b>Database Host: </b> <?php echo $hesk_settings['db_host']; ?></p>
|
||||||
<p><b>Database Name: </b><?php echo $hesk_settings['db_name']; ?></p>
|
<p><b>Database Name: </b><?php echo $hesk_settings['db_name']; ?></p>
|
||||||
<p><b>Database User: </b><?php echo $hesk_settings['db_user']; ?></p>
|
<p><b>Database User: </b><?php echo $hesk_settings['db_user']; ?></p>
|
||||||
<p><b>Database Password: </b><?php echo $hesk_settings['db_pass']; ?></p>
|
<p><b>Database Password: </b><?php echo $hesk_settings['db_pass']; ?></p>
|
||||||
<p><b>Database Prefix: </b><?php echo $hesk_settings['db_pfix']; ?></p>
|
<p><b>Database Prefix: </b><?php echo $hesk_settings['db_pfix']; ?></p>
|
||||||
<a href="?update=1">Proceed with installation</a>
|
<a href="?update=1">Proceed with installation</a>
|
||||||
|
<p>By proceeding, you agree to the terms of the <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License.</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: <?php echo $showFinished; ?>">
|
<div style="display: <?php echo $showFinished; ?>">
|
||||||
<h1>Installation Finished</h1>
|
<h1>Installation Finished</h1>
|
||||||
|
|||||||
@ -5,7 +5,6 @@ require(HESK_PATH . 'install/install_functions.inc.php');
|
|||||||
require(HESK_PATH . 'hesk_settings.inc.php');
|
require(HESK_PATH . 'hesk_settings.inc.php');
|
||||||
hesk_dbConnect();
|
hesk_dbConnect();
|
||||||
hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `autorefresh` BIGINT NOT NULL DEFAULT 0 AFTER `replies`;");
|
hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `autorefresh` BIGINT NOT NULL DEFAULT 0 AFTER `replies`;");
|
||||||
?>
|
header('Location: updateTo1-4-0.php');
|
||||||
|
exit();
|
||||||
<h1>Update complete!</h1>
|
?>
|
||||||
<p>Please delete the <b>install</b> folder for security reasons, and then proceed back to the <a href="../">Help Desk</a></p>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user