From: Reini U. <ru...@x-...> - 2002-02-22 18:47:52
|
Jeff Dairiki schrieb: > I haven't looked at PHPweather, but have used Gallery > (http://gallery.sf.net/) which also has an on-line config system. > Here, to the best of my recollection, is how Gallery handles some of these > issues. > > There one has to run a shell script (on the server) to enable configuration > mode. The script changes some file permissions (and maybe adjusts .htaccess > files, and I don't know what all else.) Then you fire up you browser and > point it to your index.php. In configuration mode, you can only configure > --- all the regular functionality is disabled. Once you're done > configurating, you need to run a second shell script to put things in run > mode. this is fine, but gallery is very hard to setup with php_value safe_mode on. I'll have to patch it to use the correct UID's, and php_value open_basedir must be also changed to point to the config dir also. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |