I have several PHP sites which use common code (about 90% of the code is the same). All the sites are hosted on a dedicated Windows server.
Is there any reason I can't put the common code in a single directory and then use virtual directories in each site to access the code?
If so, where should I put the common code? (Does it matter where?)
And how would I accomplish this? The control panel (Helm) lets me add virtual directories to a site, but it seems they can only reference other folders in the same site.
Is there any reason I can't put the common code in a single directory and then use virtual directories in each site to access the code?
If so, where should I put the common code? (Does it matter where?)
And how would I accomplish this? The control panel (Helm) lets me add virtual directories to a site, but it seems they can only reference other folders in the same site.