yireo/magento1-disablelog

禁用所有将 Magento 日志记录到数据库的功能

0.0.14 2016-11-02 06:40 UTC

This package is auto-updated.

Last update: 2024-08-29 04:49:33 UTC


README

Magento 扩展,用于禁用将 Magento 日志记录到数据库的功能

更多信息: https://www.yireo.com/software/magento-extensions/disablelog

您可以通过多种方式安装此模块

  1. 从我们的网站下载 MagentoConnect 软件包,并将其上传到您的 Magento Downloader 应用程序中。

  2. 从我们的网站下载 Magento 源代码存档,解压文件,并将文件上传到您的 Magento 根目录。请确保清除 Magento 缓存。完成后,请注销。

  3. 使用 modman 为您安装 git 仓库

    modman init modman clone https://github.com/yireo/Yireo_DisableLog modman update Yireo_DisableLog

  4. 使用 composer 为您安装 composer 软件包。请见下文。

使用 composer 的说明

使用 composer 安装此扩展。首先,请确保使用正确的设置初始化 composer

composer -n init
composer install --no-dev

接下来,修改您的本地 composer.json 文件

{
    "require": {
        "yireo/magento1-disablelog": "dev-master",
        "magento-hackathon/magento-composer-installer": "*"
    },    
    "repositories":[
        {
            "packagist": false
        },
        {
            "type":"composer",
            "url":"https://packages.firegento.com"
        },
        {
            "type":"composer",
            "url":"https://satis.yireo.com"
        }
    ],
    "extra":{
        "magento-root-dir":"/path/to/magento",
        "magento-deploystrategy":"copy"           
    }
}

请确保正确设置 magento-root-dir。通过运行以下命令进行测试

composer update --no-dev

完成。