aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install.php1
-rw-r--r--upgrade.php1
2 files changed, 2 insertions, 0 deletions
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 |