【发布时间】:2014-02-03 21:08:45
【问题描述】:
我在之前的 Magento 1.7 安装中使用过 this guide,它运行良好,但我现在使用的是 1.8 版,它似乎根本无法运行。
我对 index.php 进行了以下编辑:
$compilerConfig = MAGENTO_ROOT . '/../includes/config.php';
$mageFilename = MAGENTO_ROOT . '/../app/Mage.php';
正确地找到合适的文件。
我在最后添加了这个(lic23rdst 是网站名称):
$mageRunCode = 'lic23rdst';
$mageRunType = 'website';
Mage::run($mageRunCode, $mageRunType);
当我尝试访问新商店时,我收到以下消息:
app/Mage.php 没有找到
谁能帮我解决这个问题?
【问题讨论】:
标签: php magento subdirectory