Posted on: 04/22/03 04:02am
By: abloch
(The World Poker Tour is a new series on the Travel Channel[*2] .)
You can't tell, but wptfan.com is an example of a "virtual" geeklog installation, using symbolic links to share the same scripts with a few other geeklog installations (such as andybloch.com[*3] , my personal website). That way I don't have to have keep and maintain duplicate files. I leave $_CONF['path']
in config.php and the require_once
line in lib-common.php the same. To load the correct config.php, I put code like the following at the top of the config.php in the $_CONF['path']
directory:
if (preg_match("|wptfan.com|",$_SERVER["SERVER_NAME"])) {
require_once("/home/abloch/www.wptfan.com/config.php");
return;
}
Andy Bloch
Posted on: 04/23/03 05:34pm
By: Anonymous (Anonymous)
Posted on: 04/14/05 10:58am
By: Anonymous (Tracy)