From: Franky V. L. <lie...@te...> - 2008-03-29 11:02:48
|
Hi, I changed some parts of the phpESP config: - You can now do authenticated ldap binds when searching for the uid, MS AD needs this (is more secure than anonymous binds anyway) - A default config file has been added (admin/phpESP.ini.php.default), your own changes should go into admin/phpESP.ini.php. The advantage is that new options can be added to the default file and you don't need to change anything to your own config file. Also a fixed part has been added (admin/phpESP.ini.php.fixed) containing values that should not be changed. The sequence is: require (phpESP.ini.php.default); ==> defaults, gets overwritten every new release require (phpESP.ini.php); ==> your own values, never gets overwritten require (phpESP.ini.php.fixed); ==> fixed parts, you can change these, but they get overwritten every new release Now I also plan an easier update: 1) read config files 2) check version of phpesp in db with the one in phpESP.ini.fixed if version table in db doesn't exist ==> suggest version=2.0.2, is changeable if version table in db exists ==> take that one 3) show a link to take db backup if wanted 4) show a link to execute the update scenario: 2.0.2==>2.0.3, 2.0.3==>2.0.4, ... for this, the update db scripts need to be parsed and the DB prefix added if needed 5) if update ok and tables contain no prefix: show link to script for prefix update, and warns it needs to be changed in the config file when executed Any comments? Franky |