aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@strangeplanet.fr>2015-09-15 19:28:05 +0200
committermistic100 <mistic@strangeplanet.fr>2015-09-15 19:28:05 +0200
commit3e7964b6289a2a4e3e062c4c9cd5f58f9464bede (patch)
tree6d66df85e9ad6ea2b7de97f18ce59fc83347a468
parentbc196ef0a4e5d7911b72f6e5d8ad9026984aff93 (diff)
Fix #347 Missing Template class in install.php
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 |