1
e-u-l-o-g-y
Absolute include paths - suggestion or question

Hi!
I've just hunted down a problem that just occured on two of my pages, but only in some modules:

LINK

Some modules include files that also exist in the XOOPS root folder using
include "name.php";

When the XOOPS root path is entered in include_path in php.ini this resulted in
die("XOOPS root path not defined");

in the following modules (since it actually checked the include_path before the current directory):

smartpartner
newbb
myalbum

but not in the following:

news
tinycontent
xoopspoll

After seeing this behaviour, I would suggest every module author to use absolute paths for all includes - OR will this be a problem?

Login

Who's Online

133 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits