From 3e7964b6289a2a4e3e062c4c9cd5f58f9464bede Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 15 Sep 2015 19:28:05 +0200 Subject: Fix #347 Missing Template class in install.php --- install.php | 1 + upgrade.php | 1 + 2 files changed, 2 insertions(+) diff --git a/install.php b/install.php index a78dbe73d..4933dc218 100644 --- a/install.php +++ b/install.php @@ -110,6 +110,7 @@ include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); defined('PWG_LOCAL_DIR') or define('PWG_LOCAL_DIR', 'local/'); include(PHPWG_ROOT_PATH . 'include/functions.inc.php'); +include(PHPWG_ROOT_PATH . 'include/template.class.php'); // download database config file if exists check_input_parameter('dl', $_GET, false, '/^[a-f0-9]{32}$/'); diff --git a/upgrade.php b/upgrade.php index 4b4e9ecbc..d580eb69c 100644 --- a/upgrade.php +++ b/upgrade.php @@ -50,6 +50,7 @@ define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db'); include_once(PHPWG_ROOT_PATH.'include/functions.inc.php'); include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); +include_once(PHPWG_ROOT_PATH . 'include/template.class.php'); // +-----------------------------------------------------------------------+ // | functions | -- cgit v1.2.3