From 71fd581dde55b4f4713f5ed143dd724e014ac43c Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Fri, 2 Jan 2015 17:00:13 -0500 Subject: [PATCH] Tell user what to add to modsForHesk_settings.inc.php if script fails --- install/updateTo2-0-0.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/install/updateTo2-0-0.php b/install/updateTo2-0-0.php index d9223a99..471cfce3 100644 --- a/install/updateTo2-0-0.php +++ b/install/updateTo2-0-0.php @@ -80,7 +80,20 @@ $modsForHesk_settings[\'customer_email_verification_required\'] = 0;'; if (!file_put_contents(HESK_PATH.'modsForHesk_settings.inc.php', $file)) { $updateSuccess = false; - echo '

Failure!

An issue occurred when trying to update the modsForHesk_settings.inc.php file.

'; + echo '

Failure!

+

An issue occurred when trying to update the modsForHesk_settings.inc.php file.

+
+

Add the following lines to your modsForHesk_settings.inc.php file:

+
+ //-- Set this to 1 to enable custom field names as keys + $modsForHesk_settings[\'custom_field_setting\'] = 0;

+ + //-- Set this to 1 to enable email verification for new customers + $modsForHesk_settings[\'customer_email_verification_required\'] = 0; + +

+

Now you can delete the install folder for security reasons, and then proceed back to the Help Desk

'; + } if ($updateSuccess) {