Re: share code between sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 21, 2009 at 2:01 PM, Lars Nielsen <lars@xxxxxxxxxx> wrote:

> Hey List
>
> Is there any good approach to share code between multiple sites? The
> code might be on the same server but on different domains.


put your common code outside the web root, and use the include_path ini
setting in all the various sites to get access to it.

thats one way to do it.


-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux