From f4c39bd62dd6476bc2372383928d1aa4d98e89f7 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Tue, 2 Apr 2013 02:07:09 -0400
Subject: [PATCH] Enable error display and bump version number for post 1.7.0
 development

---
 main.inc.php        | 6 +++---
 setup/setup.inc.php | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.inc.php b/main.inc.php
index c6a6d0fe7..a8aac57df 100644
--- a/main.inc.php
+++ b/main.inc.php
@@ -46,8 +46,8 @@
     error_reporting($error_reporting); //Respect whatever is set in php.ini (sysadmin knows better??)
 
     #Don't display errors
-    ini_set('display_errors', 0);
-    ini_set('display_startup_errors', 0);
+    ini_set('display_errors', 1);
+    ini_set('display_startup_errors', 1);
 
     //Default timezone
     if (!ini_get('date.timezone')) {
@@ -75,7 +75,7 @@
     /*############## Do NOT monkey with anything else beyond this point UNLESS you really know what you are doing ##############*/
 
     #Current version && schema signature (Changes from version to version)
-    define('THIS_VERSION','1.7.0'); //Shown on admin panel
+    define('THIS_VERSION','1.7.0+'); //Shown on admin panel
     define('SCHEMA_SIGNATURE', 'd959a00e55c75e0c903b9e37324fd25d'); //MD5 signature of the db schema. (used to trigger upgrades)
     #load config info
     $configfile='';
diff --git a/setup/setup.inc.php b/setup/setup.inc.php
index 52b7563a5..e2f5620f7 100644
--- a/setup/setup.inc.php
+++ b/setup/setup.inc.php
@@ -15,7 +15,7 @@
 **********************************************************************/
 
 #This  version - changed on every release
-define('THIS_VERSION', '1.7.0');
+define('THIS_VERSION', '1.7.0+');
 
 #inits - error reporting.
 $error_reporting = E_ALL & ~E_NOTICE;
-- 
GitLab