[geeklog-devel] Config caching (was: SOCNET)

cordiste cordiste at free.fr
Thu Feb 25 17:14:59 EST 2010


>Dirk Haun wrote :
>
>There's a simple hack for  running several sites off of one code base, but it would break with such
> a cache

Just a note for cache and several sites with one code base :
For plugins wich need cache in a multi sites environment I create
subfolders with $_SERVER['HTTP_HOST'] variable.
May be not the best solution but it's working.

::Ben


2010/2/25 Dirk Haun <dirk at haun-online.de>:
> Chris 'Chipper' Chiapusio wrote:
>
>>What problem was solved when we moved the config into the database?
>
> Convenience. Originally, the config.php only contained settings that you
> didn't need to change a lot. Over time, it aquired more and more
> settings that you wanted to change more often. And so you had to
> download the file, edit it, and upload it again. The Configuration GUI
> addressed that problem.
>
>
>>was that to make multi-host websites more managable?
>
> No, but it's a good thing to keep in mind. There's a simple hack for
> running several sites off of one code base, but it would break with such
> a cache (pretty much any cache files, in fact).
>
> bye, Dirk
>
>
> --
> http://www.haun-online.de/accu/
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>
>



More information about the geeklog-devel mailing list