|
From: Benjamin C. <bc...@us...> - 2001-08-23 01:39:44
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv6395
Modified Files:
include.php
Log Message:
Allow the admin stuff to see config.php
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- include.php 2001/08/23 01:20:49 1.38
+++ include.php 2001/08/23 01:39:40 1.39
@@ -22,7 +22,11 @@
// ------------------------------------------------------------------------
// $Id$
-require "config.php";
+if (defined("INCLUDE_PATH")) {
+ require INCLUDE_PATH."config.php";
+} else {
+ require "config.php";
+}
// Edit this class with your database information
class dbclass extends DB_Sql {
|