From 2a5308f47c16a987be549bf8bf983a8705471b8d Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Tue, 26 Jun 2012 10:48:04 -0400
Subject: [PATCH] Define include dir for upgrader & patches

---
 main.inc.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/main.inc.php b/main.inc.php
index 3660625d6..8fbe9c317 100644
--- a/main.inc.php
+++ b/main.inc.php
@@ -55,7 +55,10 @@
     define('INCLUDE_DIR',ROOT_DIR.'include/'); //Change this if include is moved outside the web path.
     define('PEAR_DIR',INCLUDE_DIR.'pear/');
     define('SETUP_DIR',INCLUDE_DIR.'setup/');
-  
+
+    define('UPGRADE_DIR', INCLUDE_DIR.'upgrader/');
+    define('PATCH_DIR', UPGRADE_DIR.'patches/');
+
     /*############## 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)
-- 
GitLab