| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,236
|
php includes and relative paths
Hi all There's a way of specifying the relative path of php includes so it doesn't matter what directory they're in. Does that make sense? It's to do with either php.ini or htaccess. Anyone know? TIA Jamie That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
|
|
|
|
#2 (permalink) |
|
Registered User
Join Date: Jun 2003
Location: somewhere between enlightenment and stupidity
Posts: 34
|
Within you htaccess you can do something along the lines of php_value include_path .:/path/that/you/want/to/use im not sure on the exact apache declaration for either side of the syntax above. |
|
![]() |