magento2
airaml23
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
magento2 为什么有两个可能的根目录(Why Magento 2 have 2 possible root folder?)
Magento 2 have 2 possible root folder: magent2 有两个可能的根目录 /path/to/magento2/index.php /path/to/magento2/pub/index.php One is at the absolute top level of Magento 2’s distribution folder. The翻译 2016-07-04 11:57:42 · 1141 阅读 · 0 评论 -
如何切换magento2 的模式(developer|production|default)
如何切换magento2 的模式(developer|production|default)在Magento2的项目根目录中,有个.htaccess文件。大概在文件的第6行。代码块SetEnv MAGE_MODE developer我们可以使用cmd命令,到magento2项目目录下。然后运行命令 php bin/magento deploy:mode:set developer 这样就可以切换为原创 2016-07-04 16:16:55 · 2363 阅读 · 0 评论 -
Unable to proceed:the maintenance mode is enable
今天在调试magento2的三种模式,手贱的用cmd命令到Magento2根目录下 打了 php bin/magento deploy:mode:set production于是乎开启了production 模式。然后再打开网页,发现问题来了。 那么如何关闭production模式,并且还原网页呢。我google了一番。首先: cmd 切换到magento2项目的bin目录下。 php mag原创 2016-07-04 18:05:42 · 1432 阅读 · 0 评论
分享