Can I send websites programmatically to Magento? Currently, I have a directory at the root of my site called / websites. In this directory, I have subdirectories for each website, for example site_a, site_b, site_c. Then in each subdirectory of the site there is .htaccess and index.php with the corresponding startup code, for example:
$mageFilename = '../../app/Mage.php';
require_once $mageFilename;
Mage::run("site_b", "website");
at index.php at / websites / site _b. Although this works, I want to avoid managing files on the file system. Can anyone give any recommendation on the best way to do this? Perhaps a script in / websites that stands in place of the individual subdirectories of the site. Any help was appreciated.
user439441
source
share