On Sun, 23 Sep 2007, Anno wrote:
Jan Erik Moström wrote:I would like to use a program to mirror a pmwiki setup between two machines, this is easily accomplished except that I would like to have different config file on the different machines. However, most of the config file is the same so there are only a few lines that differs.Is there some way to have a machine/host dependent part of the config file? Something like this +-----------------------+ | Common | +-----------------------+ | Machine 1 | +-----------------------+ | Machine 2 | +-----------------------+ | Common | +-----------------------+ jemYou could have the machine specific parts each in a separate file on every machine, and include it in the config.php file. http://at2.php.net/include_once
Nice idea, worth a recipe page I think. /C
Anno
-- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
