yottacms/yotta-phpsettings-bundle

Yotta Php.ini 设置包

v0.1.2 2018-05-31 10:32 UTC

This package is auto-updated.

Last update: 2024-09-15 07:25:46 UTC


README

在 Symfony 4 中设置 php.ini 设置的简单方法

安装

composer require yottacms/yotta-phpsettings-bundle
// config/bundles.php
// ...
return [
    \YottaCms\Bundle\YottaPhpSettingsBundle\YottaPhpSettingsBundle::class => ['all' => true],
    // ...
];
# config/packages/yotta.yml
yotta_php_settings:
    ini:
        - {"date.timezone": "Europe/Minsk"}