[Openfirst-cvscommit] base/config globals-default.php,1.1.1.1,1.2 globals.php,1.1.1.1,1.2
Brought to you by:
xtimg
From: <xt...@us...> - 2003-06-24 13:22:29
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv2189 Modified Files: globals-default.php globals.php Log Message: Fix globals.php to work if a 3 level deep directory is reached on the first attempt (example, admin functions) Index: globals-default.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals-default.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** globals-default.php 7 Jun 2003 16:11:32 -0000 1.1.1.1 --- globals-default.php 24 Jun 2003 13:22:26 -0000 1.2 *************** *** 10,13 **** --- 10,15 ---- } elseif(file_exists("config/first.php")) { header("Location: config/first.php"); + } elseif(file_exists("../../config/first.php")) { + header("Location: ../../config/first.php"); } ?> Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** globals.php 7 Jun 2003 16:11:31 -0000 1.1.1.1 --- globals.php 24 Jun 2003 13:22:26 -0000 1.2 *************** *** 10,13 **** --- 10,15 ---- } elseif(file_exists("config/first.php")) { header("Location: config/first.php"); + } elseif(file_exists("../../config/first.php")) { + header("Location: ../../config/first.php"); } ?> |