From ebd0e986ed11f2a34fb58cdd33efbfab192083ad Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Fri, 22 Apr 2016 05:26:17 -0400
Subject: [PATCH] Added PHP 7 check in installer and updater.

---
 install/patches/upd_0001.php |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/install/patches/upd_0001.php b/install/patches/upd_0001.php
index 93d6967..596bef5 100644
--- a/install/patches/upd_0001.php
+++ b/install/patches/upd_0001.php
@@ -1,6 +1,6 @@
 <?php
 
-if(!defined('INSTALLER_RUN')) die('Patch update file access violation.'); 
+if(!defined('INSTALLER_RUN')) die('Patch update file access violation.');
 
 /*
 	Example installer patch update class. the classname must match
@@ -10,12 +10,14 @@
 
 class upd_0001 extends installer_patch_update {
 
-   public function onBeforeSQL() {
-     // Do something
-   }
-   public function onAfterSQL() {
-     // Do something
-   }
+	public function onBeforeSQL() {
+		// Do something
+	}
+
+	public function onAfterSQL() {
+		// Do something
+	}
+
 }
 
 ?>

--
Gitblit v1.9.1