From: <tr...@us...> - 2002-09-30 17:20:33
|
Update of /cvsroot/basedb/basedb/exec In directory usw-pr-cvs1:/tmp/cvs-serv28500 Modified Files: example_getconfig2.inc.php Log Message: Made things a bit more clear Index: example_getconfig2.inc.php =================================================================== RCS file: /cvsroot/basedb/basedb/exec/example_getconfig2.inc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** example_getconfig2.inc.php 12 Jul 2002 16:52:52 -0000 1.1 --- example_getconfig2.inc.php 30 Sep 2002 17:20:30 -0000 1.2 *************** *** 3,7 **** // includes another file B, it doesn't search the directory A was in // but only the current directory (or whatever include_path says). ! ini_set("include_path", "/usr/local/base/www:".ini_get("include_path")); require_once("getconfig.inc.php"); ?> --- 3,10 ---- // includes another file B, it doesn't search the directory A was in // but only the current directory (or whatever include_path says). ! $wwwpath = "/usr/local/base/www"; ! ! ini_set("include_path", $wwwpath.":".ini_get("include_path")); ! unset($wwwpath); require_once("getconfig.inc.php"); ?> |