|
From: James E. F. <jf...@ac...> - 2003-01-31 04:26:59
|
I renamed phpESP.ini to phpESP.ini.php. While I was at it, I cleaned up a bunch of stuff. I moved as much code out of the ini as possible, so it's mostly just variables now. I replaced TRUE/FALSE with true/false. I replaced DESLASH/XADDSLASHES with _stripslashes/_addslashes. I changed to require_once(), and removed a bunch of if-defined()'s. So now, phpESP can be installed anywhere. No moving or symlinking needed. All that needs to be edited for almost all cases is: $ESPCONFIG['base_url'], and database passwords. How is this done you ask? It is done with a trick horde and others use: dirname(__FILE__) and relative paths from there. -James |