Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'modules'=>array(
- // uncomment the following to enable the Gii tool
- 'cruge'=>array(
- 'tableprefix'=>'cruge_',
- 'availableAuthMethods'=>array('default'),
- 'availableAuthModes'=>array('username','email'),
- 'baseUrl'=>'http://coco.com/',
- // NO OLVIDES PONER EN FALSE TRAS INSTALAR
- //'debug'=>true,
- 'rbacSetupEnabled'=>true,
- 'allowUserAlways'=>false,
- // MIENTRAS INSTALAS..PONLO EN: false
- 'useEncryptedPassword' => false,
- // manejo del layout con cruge.
- //
- 'loginLayout'=>'//layouts/column1',
- 'registrationLayout'=>'//layouts/column1',
- 'activateAccountLayout'=>'//layouts/column1',
- 'editProfileLayout'=>'//layouts/column1',
- // en la siguiente puedes especificar el valor "ui" o "column2" para que use el layout
- // de fabrica, es basico pero funcional. si pones otro valor considera que cruge
- // requerir� de un portlet para desplegar un menu con las opciones de administrador.
- //
- 'generalUserManagementLayout'=>'//layouts/column1',
- ),
- 'gii'=>array(
- 'class'=>'system.gii.GiiModule',
- 'password'=>'123456',
- 'ipFilters'=>array('192.168.0.1','::1'),
- 'generatorPaths'=>array('bootstrap.gii',),
- ),
- 'cargoyabono'=>array(
- 'debug'=>true,
- 'layout'=>'//layouts/column1',
- 'config'=>array(
- 'cuenta'=>array(
- 'persona'=>'Persona',
- 'cuenta'=>'CuentaPersona',
- 'historia'=>'HistoriaAbono',
- 'cargo'=>1,
- 'abono'=>2,
- ),
- ),
- ),
- ),
- // application components
- 'components'=>array(
- 'less'=>array(
- 'class'=>'ext.less.components.LessCompiler',
- 'forceCompile'=>false, // indicates whether to force compiling
- 'paths'=>array(
- 'less/style.less'=>'assets/style.css',
- ),
- ),
- 'bootstrap'=>array(
- 'class'=>'ext.bootstrap.components.Bootstrap', // assuming you extracted bootstrap under extensions
- ),
- 'sincronizador'=>array(
- 'class'=>'application.components.sincronizador.Sincronizador',
- 'limit'=>3,
- 'clasesTransmisibles'=>array('Resultado'),
- ),
- 'user'=>array(
- 'allowAutoLogin'=>true,
- 'class' => 'application.modules.cruge.components.CrugeWebUser',
- 'loginUrl' => array('/cruge/ui/login'),
- ),
- 'authManager' => array(
- 'class' => 'application.modules.cruge.components.CrugeAuthManager',
- ),
- 'crugemailer'=>array(
- 'class' => 'application.modules.cruge.components.CrugeMailer',
- 'mailfrom' => 'email-desde-donde-quieres-enviar-los-mensajes@xxxx.com',
- 'subjectprefix' => 'Tu Encabezado del asunto - ',
- 'debug' => true,
- ),
- 'format' => array(
- //'class'=>'application.modules.cargoyabono.components.CyaFormat',
- 'class'=>'application.components.Zformat',
- 'datetimeFormat'=>"d M, Y h:m:s a",
- 'dateFormat'=>"d-m-Y",
- 'simboloMoneda'=>'Bsf.',
- 'estandarizaFechaFormatoEntrada'=>'dd/MM/yyyy',
- 'estandarizaFechaFormatoSalida'=>"Y-m-d",
- ),
- 'uimanager'=>array('class'=>'application.components.UiManager'),
- 'cyaui'=>array('class'=>'application.modules.cargoyabono.components.CyaUI'),
- 'cyaApi'=>array('class'=>'application.modules.cargoyabono.components.CyaApi'),
- 'listasorteo'=>array(
- 'filtros'=>array(
- 'FiltroSorteoHorario',
- 'FiltroSorteoLoteria',
- //'FiltroSorteoTipoSorteo',
- 'FiltroSorteoDiaSemana',
- 'FiltroSorteoFecha',
- ),
- 'class'=>'ListaSorteo',
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement