|
From: Patrick M. <mo...@us...> - 2002-01-21 08:10:08
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv865
Modified Files:
install.php
Log Message:
INCLUDE_PATH was not defined and template.php was included without use of INCLUDE_PATH
Index: install.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/install.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- install.php 2001/12/14 14:42:09 1.8
+++ install.php 2002/01/21 08:10:05 1.9
@@ -25,7 +25,11 @@
define ('INSTALL_PATH', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
-include (INSTALL_PATH.'/inc/template.php');
+if (!defined('INCLUDE_PATH')) {
+ define('INCLUDE_PATH', '');
+}
+
+include (INSTALL_PATH.'/'.INCLUDE_PATH.'/inc/template.php');
$t = new Template('templates/default', 'keep');
$t->set_var('me', $HTTP_SERVER_VARS['PHP_SELF']);
$_gv =& $HTTP_GET_VARS;
|