several sites sharing the same script
| From: | Internet.Maestro@gmail.com | Date: | Wed, 29 Nov 2006 23:48:50 +0000 |
| Subject: | several sites sharing the same script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-245317@lists.php.net to get a copy of this message | ||
Hello all,
I am writing new php application which will be used by several sites.
All sites will use same script (all files), but every will have its own config.php file.
I would like to place all necessary files to separate directory and all sites should share them, so
all sites will be updated.
for e.x. structure will be:
| - script directory
|- site1.com dir
config.php
|- site2.com dir
config.php
|- site3.com dir
config.php
Does anyone have idea how to organize and share files?
Thanks For Your Time !