|
Posted by Paul on 03/30/07 17:38
I am taking over an existing app and having trouble understanding their
references.
They have encapsulated Pear packages in the directory structure like:
/site
/site/html/Pear.php
/site/html/Sigma.php
/site/html/Common.php
/site/html/Quickform.php
/site/html/Quickform/
/site/Mail/mail.php
/pages/page1.php
At the top of /site/html/Quickform.php they put:
ini_set('include_path','.:..');
...
require_once('HTML/Common.php');
And it throws an error trying to find 'HTML/Common.php' which is in the same
directory but referenced from the directory above it.
I have tried every configuration in the apache conf file and changing the
code itself.
So, can ini_set('include_path','.:..'); see the directory above it? If not,
how can I change it to see the directory above it?
Any ideas are MUCH appreciated!
Navigation:
[Reply to this message]
|