Re: need some help here [message #1266 is a reply to message #1265] |
Sun, 24 February 2008 23:54 |
ashmuw
Messages: 6 Registered: February 2008
|
Junior Member |
|
|
hi I did not change the include file save for the path only and here is a portion.
Your help is appreciated
.................
// This file contains generic functions
// modify INCLUDE_PATH
$include_path = ini_get('include_path');
if (preg_match('/C:\\\phpdev\\\includes/i',$include_path, $regs)) {
// this applies to my home PC only - remove directory and append it later
$include_std = PATH_SEPARATOR .$regs[0];
$include_path = str_replace($include_std, '', $include_path);
} // if
$include_path .= PATH_SEPARATOR .'../menu';
$include_path .= PATH_SEPARATOR .'../audit';
$include_path .= PATH_SEPARATOR .'../workflow';
if (isset($include_std)) {
$include_path .= $include_std;
} // if
ini_set('include_path', $include_path);
unset($include_path, $include_std, $regs);
require_once 'config.inc.default';
require_once 'error.inc';
// are we using PHP 5, or something earlier?
if (version_compare(phpversion(), '5.0.0', '<')) {
require 'std.singleton.php4.inc';
|
|
|