Quote:
Great that you guys "solved" the session problem. Now we have something to go on to solve it the right way.
|
Maybe it's my defensive side, But I think the "Right way" is to have both the gallery and VB on the same database.
By having the script call 2 seperate config files, you are leaving open an area for exploits.
As for the issue in the php.ini file....
Many webhosting providers are 2nd and 3rd party resellers.
So for them to setup their "Virtual servers" properly, they leave some settings "Undefined".
I would suggest that in the next release, or in future ideas, adding in an additional variable, or use an existing one, and make the paths in the include statement to some thing like..
In gallery config -
$cfgGalleryDirLocal = '/home/user/public_html/photos/'
In the include files
include($cfgGalleryDirLocal . '/include/sql-mysql.php');