diff options
author | mistic100 <mistic@strangeplanet.fr> | 2015-09-15 19:28:05 +0200 |
---|---|---|
committer | mistic100 <mistic@strangeplanet.fr> | 2015-09-15 19:28:05 +0200 |
commit | 3e7964b6289a2a4e3e062c4c9cd5f58f9464bede (patch) | |
tree | 6d66df85e9ad6ea2b7de97f18ce59fc83347a468 | |
parent | bc196ef0a4e5d7911b72f6e5d8ad9026984aff93 (diff) |
Fix #347 Missing Template class in install.php
-rw-r--r-- | install.php | 1 | ||||
-rw-r--r-- | upgrade.php | 1 |
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 | |