Menu

#1 Hardcoded path to pear/Mail.php in top.php

open
nobody
None
5
2006-02-24
2006-02-24
No

top.php contains hardcoded path in line 39:

require("/usr/share/pear/Mail.php");

On Debian GNU/Linux PEAR installed in /usr/share/php.
So kamparealis won't work, while you change this path
by hand.

May be better way, will be to leave relative file name
there and use standard include_path or to add something
like PEAR_PATH variable to config.php?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB