- Extensión "jQuery Chosen" - Arreglos en migraciones para indicar el tipo de tablas InnoDB git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@67 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
72 lines
2.0 KiB
PHP
72 lines
2.0 KiB
PHP
<?php
|
|
|
|
// Set yiiPath (add extra ../../)
|
|
// $yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php';
|
|
// Set YII_DEBUG and YII_TRACE_LEVEL flags
|
|
//$debug = true;
|
|
//$traceLevel = 0;
|
|
|
|
$config = array(
|
|
'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
|
|
'theme' => 'profind',
|
|
'sourceLanguage' => 'en',
|
|
'language' => 'es',
|
|
'name' => 'PROFIND',
|
|
'defaultController' => 'usuario',
|
|
|
|
// preloading 'log' component
|
|
'preload' => array('log'),
|
|
|
|
// autoloading model and component classes
|
|
'import' => array(
|
|
// Modelos
|
|
'application.models.*',
|
|
'application.models.formularios.*',
|
|
|
|
// Helpers
|
|
'application.helpers.*',
|
|
|
|
// Componentes y extensiones
|
|
'application.components.*',
|
|
'application.extensions.yii-mail.YiiMailMessage',
|
|
'application.extensions.PasswordHash.PasswordHash',
|
|
'application.extensions.yii-chosen.Chosen',
|
|
),
|
|
|
|
'modules' => array(
|
|
'application.modules.socialconnect.SocialConnectModule',
|
|
),
|
|
|
|
// application components
|
|
'components' => array(
|
|
'user' => array(
|
|
'class' => 'UsuarioWeb',
|
|
'allowAutoLogin' => false,
|
|
),
|
|
// uncomment the following to enable URLs in path-format
|
|
/* 'urlManager' => array(
|
|
'urlFormat' => 'path',
|
|
// Ocultar 'index.php' de las URL's.
|
|
// Hay que poner un fichero .htaccess con la redirección.
|
|
'showScriptName' => false,
|
|
'urlSuffix' => '.html',
|
|
'rules' => require(dirname(__FILE__) . '/url_rules.php'),
|
|
), */
|
|
|
|
'errorHandler' => array(
|
|
// use 'site/error' action to display errors
|
|
'errorAction' => 'site/error',
|
|
),
|
|
),
|
|
|
|
'params' => array(
|
|
'salarios_candidatos' => array(
|
|
'salario_minimo' => 12000,
|
|
'salario_maximo' => 60000,
|
|
),
|
|
'phpass' => array(
|
|
'iteration_count_log2' => 8,
|
|
'portable_hashes' => false,
|
|
),
|
|
)
|
|
); |