convenient/setupscriptsdisabler
Composer 安装命令:
composer require convenient/setupscriptsdisabler
包简介
Disables automatic application of setup scripts in Magento
README 文档
README
Disables the automatic application of setup scripts in Magento, this is cool because
- It's a little performance boost, we don't need to be checking for setup scripts every time Mage::run is called as setup scripts should be run during the deployment process
- It is safer. If you went wild and deployed to a busy server it is possible that setup scripts could be initiated multiple times by multiple processes. This could cause your database to get into unexpected or corrupted states.
n98-magerun sys:setup:run is my preferred method of running setup scripts.
Just pop it (and your preferred composer installer / autoloader) in your composer.json and it's all ready to go.
{
"require": {
"magento-hackathon/magento-composer-installer": "~2.0",
"convenient/setupscriptsdisabler":"~0.2"
},
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}
],
"extra": {
"magento-root-dir":"./",
"magento-force":"override"
}
}
统计信息
- 总下载量: 5.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2017-09-07