7 $ini = parse_ini_file(
'protected/config/config.ini');
8 require_once
'const.php';
11 'sourceLanguage' =>
'en',
13 'basePath'=>dirname(dirname(__FILE__)),
14 'runtimePath'=>dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR.
'runtime',
15 'name'=>
'DC service Web UI',
16 'defaultController'=>
'SitesView',
20 'preload'=>array(
'log',
'booster',
'debug'),
24 'application.models.*',
25 'application.models.behaviors.*',
26 'application.models.behaviors.Serialize.*',
27 'application.components.*',
28 'application.helpers.*',
29 'application.vendors.*',
30 'application.modules.user.*',
31 'application.modules.user.models.*',
32 'application.modules.user.components.*',
33 'application.modules.rights.models.*',
34 'application.modules.rights.components.*',
35 'application.modules.account.*',
36 'application.modules.account.models.*',
37 'application.models.AccountSite.*',
38 'application.modules.TagsReaperUI.components.*'
44 'class'=>
'system.gii.GiiModule',
45 'password'=>
'hce12345'),
52 'tableUsers' =>
'users',
53 'tableProfiles' =>
'profiles',
54 'tableProfileFields' =>
'profiles_fields',
56 'sendActivationMail' =>
false,
57 'loginNotActiv' =>
false,
58 'activeAfterRegister' =>
true,
60 'registrationUrl' => array(
'/user/registration'),
61 'recoveryUrl' => array(
'/user/recovery'),
62 'loginUrl' => array(
'/user/login'),
63 'returnUrl' => array(
'/user/profile'),
64 'returnLogoutUrl' => array(
'/user/login'),
67 'superuserName'=>
'Admin',
68 'authenticatedName'=>
'Authenticated',
70 'userNameColumn'=>
'username',
71 'enableBizRule'=>
true,
72 'enableBizRuleData'=>
true,
73 'displayDescription'=>
true,
74 'flashSuccessKey'=>
'RightsSuccess',
75 'flashErrorKey'=>
'RightsError',
77 'layout'=>
'rights.views.layouts.main',
78 'appLayout'=>
'application.views.layouts.main',
79 'cssFile'=>
'rights.css',
85 'TagsReaperUI' => array(),
94 'allowAutoLogin'=>
true,
95 'loginUrl'=>array(
'/user/login'),
98 'class'=>
'RDbAuthManager',
100 'defaultRoles'=>array(),
106 'class' =>
'application.extensions.yii2-debug.Yii2Debug',
109 'class' =>
'system.caching.CDummyCache'
112 'class' =>
'application.extensions.booster.components.Booster',
115 'class'=>
'application.components.YFormatter',
122 'showScriptName' =>
false,
125 '<controller:TagsReaperUI>/<action:tryIt>'=>
'TagsReaperUI/TagsReaperUI/tryIt',
126 '<controller:TagsReaperUI>/<action:createSession>'=>
'TagsReaperUI/TagsReaperUI/createSession',
127 '<controller:TagsReaperUI>/<action:content>'=>
'TagsReaperUI/TagsReaperUI/content',
128 '<controller:TagsReaperUI>/<action:toggleUserInfoForm>'=>
'TagsReaperUI/TagsReaperUI/toggleUserInfoForm',
129 '<controller:TagsReaperUI>/<action:validationDynamicFields>'=>
'TagsReaperUI/TagsReaperUI/validationDynamicFields',
130 '<controller:\w+>/<id:\d+>'=>
'<controller>/view',
131 '<controller:\w+>/<action:\w+>/<id:\d+>'=>
'<controller>/<action>',
132 '<controller:\w+>/<action:\w+>'=>
'<controller>/<action>',
142 'connectionString' =>
'mysql:host='.
MAIN_MYSQL_HOST.
';dbname=dc_management',
144 'emulatePrepare' =>
true,
148 'enableProfiling' =>
true,
149 'enableParamLogging' =>
true,
156 'class'=>
'CLogRouter',
159 'class'=>
'CFileLogRoute',
160 'levels'=>
'error, warning',
170 'securityManager'=>array(
171 'cryptAlgorithm' =>
'blowfish',
181 'bashScrFolder'=>dirname(dirname(dirname(__FILE__))).
'/shell/',
182 'webRoot'=>dirname(dirname(dirname(__FILE__))),