Server IP : 68.65.122.142 / Your IP : 18.217.18.163 Web Server : LiteSpeed System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : glenirhm ( 1318) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /var/softaculous/bludit/../qdpm/../mw28/../myt/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php return array( 'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..', 'name' => '[[site_name]]', 'preload' => array('log'), // autoloading model and component classes 'import' => array( 'application.models.*', 'application.components.*', 'ext.easyimage.EasyImage', 'ext.EExcelView', 'ext.TaskExcelView', ), // i18n 'language' => '[[language]]', 'sourceLanguage' => 'en', 'theme' => 'fluid', 'modules' => array( 'gii' => array( 'class' => 'system.gii.GiiModule', 'password' => 'Ah!', 'ipFilters' => array('127.0.0.1', '::1', '*'), ), ), // application components 'components' => array( 'widgetFactory' => array( 'widgets' => array( 'CLinkPager' => array( 'cssFile' => false, 'header' => false ) ) ), 'user' => array( 'class' => 'RWebUser', 'allowAutoLogin' => true, ), 'cache' => array( 'class' => 'system.caching.CFileCache', ), 'counter' => array( 'class' => 'ext.mySession.UserCounter', ), 'mail' => array( 'class' => 'ext.yii-mail.YiiMail', 'transportType' => 'php', 'logging' => false, 'dryRun' => false ), 'urlManager' => array( 'urlFormat' => 'path', 'showScriptName' => false, 'rules' => array( '<controller:\w+>/<id:\d+>' => '<controller>/view', '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>', '<controller:authItem>/<action:\w+>/<id:(?:[a-zA-Z0-9]+[ ]?)+[a-zA-Z0-9]+>' => '<controller>/<action>', //this is only for auth manager '<controller:\w+>/<action:\w+>' => '<controller>/<action>', '<controller:charge>/<action:create>/<month:[\w-]+>/<user:\d+>/<project:\d+>' => '<controller>/<action>', //custom rule for months ), ), 'db' => array( 'connectionString' => 'mysql:host=[[softdbhost]];dbname=[[softdb]]', 'emulatePrepare' => true, 'username' => '[[softdbuser]]', 'password' => '[[softdbpass]]', 'tablePrefix' => '[[dbprefix]]', 'charset' => 'utf8', 'enableProfiling' => true, 'enableParamLogging' => true, ), 'authManager' => array( 'class' => 'CDbAuthManager', 'connectionID' => 'db', 'itemTable' => '{{auth_item}}', 'itemChildTable' => '{{auth_item_child}}', 'assignmentTable' => '{{auth_assignment}}', ), 'errorHandler' => array( 'errorAction' => 'site/error', ), 'log' => array( 'class' => 'CLogRouter', 'routes' => array( array( 'class' => 'CFileLogRoute', 'levels' => 'error, warning', ), array( 'class' => 'ext.yii-debug-toolbar.YiiDebugToolbarRoute', 'ipFilters' => array('127.0.0.1', '*'), ), ), ), 'session' => array( 'class' => 'ext.mySession.DbHttpSession', 'connectionID' => 'db', 'sessionTableName' => '{{session}}', 'autoCreateSessionTable' => false, 'timeout' => 3600 ), 'format' => array( 'class' => 'ELocalizedFormatter', ), 'easyImage' => array( 'class' => 'application.extensions.easyimage.EasyImage' ), 'mega' => array( 'class' => 'application.extensions.yii-mega-api.Mega' ), 'messages' => array( 'class' => 'CPhpMessageSource', 'forceTranslation' => true, 'language' => 'en', 'cachingDuration' => 604800, // 1 week ), ), 'params' => require(dirname(__FILE__) . '/params.php'), );