From ccbf1497dde4aef031a39544235a284641e694de Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Tue, 04 Mar 2014 16:18:36 -0500 Subject: [PATCH] - Added templating library to installer. - Added function to detect the apache version to installer. - Added support for apache 2.4 to vhots templates for ispconfig vhost and apps vhost in installer. --- install/update.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/install/update.php b/install/update.php index 5cc2f42..08ffcc8 100644 --- a/install/update.php +++ b/install/update.php @@ -66,6 +66,9 @@ define('ISPC_LOG_FILE', '/var/log/ispconfig_install.log'); define('ISPC_INSTALL_ROOT', realpath(dirname(__FILE__).'/../')); +//** Include the templating lib +require_once 'lib/classes/tpl.inc.php'; + //** Check for ISPConfig 2.x versions if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) { die('This software cannot be installed on a server wich runs ISPConfig 2.x.'); -- Gitblit v1.9.1