Skip to content

Instantly share code, notes, and snippets.

@alanwillms
Created October 20, 2014 13:39
Show Gist options
  • Save alanwillms/5089e8e0e43a7573cbb6 to your computer and use it in GitHub Desktop.
Save alanwillms/5089e8e0e43a7573cbb6 to your computer and use it in GitHub Desktop.
Configuração módulos Cheble
<?php
$baseDir = realpath(dirname(__FILE__) . '/../../') . '/';
return array(
'language' => 'pt',
'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
'preload' => array(
'log',
'bootstrap',
),
'import' => array(
// ...
),
'modules' => array(
'modulo1',
'modulo2',
'gii' => array(
'class' => 'system.gii.GiiModule',
'password' => '2703',
'ipFilters' => array('127.0.0.1', '::1'),
'generatorPaths'=>array(
'bootstrap.gii',
),
),
),
//...
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment