jaimevalasek/jv-config

使用此模块生成 jaimevalasek/JV.* 模块的配置。

dev-master 2013-09-27 17:30 UTC

This package is not auto-updated.

Last update: 2024-09-24 06:41:43 UTC


README

创建者:Jaime Marcelo Valasek

使用此模块生成 jaimevalasek/JV.* 模块的配置

未来视频课程可以在网站或 YouTube 频道 http://www.zf2.com.br/tutoriais http://www.youtube.com/zf2tutoriais 上开发和发布

安装

将此模块下载到您的 vendor 文件夹中。

完成以上步骤后,打开文件 config/application.config.php。并添加名为 JVConfig 的模块。

使用 composer

  1. 编辑 composer.json
"require": {
    "jaimevalasek/jv-config": "dev-master"
}
  1. 现在运行以下命令,让 composer 下载 JVConfig
php composer.phar update

安装后

<?php
return array(
    'modules' => array(
        // ...
        'JVConfig',
    ),
    // ...
);

使用 JVConfig

jaimevalasek/JV.* 所有模块的设置都可以集中在这个模块中,以便于添加、更改等。

// config/module.config.php
return array(
	// ...
	The settings of the modules go here
	// ...
);