%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/ppaobm/backend/config/ |
Upload File : |
<?php
$params = array_merge(
require __DIR__ . '/../../common/config/params.php', require __DIR__ . '/../../common/config/params-local.php', require __DIR__ . '/params.php', require __DIR__ . '/params-local.php'
);
return [
'id' => 'app-backend',
'timeZone' => 'Asia/Bangkok',
'language' => 'th_TH',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'backend\controllers',
'bootstrap' => ['log'],
'modules' => [
'booking_data' => [
'class' => 'backend\modules\booking_data\Module',
],
'location_center' => [
'class' => 'backend\modules\location_center\Module',
],
'department_type' => [
'class' => 'backend\modules\department_type\Module',
],
'location_room' => [
'class' => 'backend\modules\location_room\Module',
],
'gridview' => [
'class' => '\kartik\grid\Module',
// enter optional module parameters below - only if you need to
// use your own export download action or custom translation
// message source
// 'downloadAction' => 'gridview/export/download',
// 'i18n' => [
// 'class' => 'yii\i18n\PhpMessageSource',
// 'basePath' => '@vendor/kartik-v/yii2-grid/messages',
// 'forceTranslation' => true
// ],
],
],
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@app/views' => '@backend/theme/adminlte',
'@dektrium/user/views' => '@backend/theme/adminlte',
'@mdm/admin/views' => '@backend/theme/adminlte/mdm'
],
],
],
'request' => [
'csrfParam' => '_csrf-backend',
],
'session' => [
'name' => 'advanced-backend',
],
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
'class' => 'yii\log\FileTarget',
'levels' => ['error', 'warning'],
],
],
],
'errorHandler' => [
'errorAction' => 'site/error',
],
'assetManager' => [
'linkAssets' => true,
'bundles' => [
'kartik\form\ActiveFormAsset' => [
'bsDependencyEnabled' => false // do not load bootstrap assets for a specific asset bundle
],
'yii\bootstrap\BootstrapAsset' => [
'sourcePath' => null,
'css' => [
// '//stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css',
// '//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css'
]
],
'yii\web\JqueryAsset' => [
'sourcePath' => null,
'js' => [
'//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js',
// '//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js',
// '//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js',
// '/metronic/vendors/base/vendors.bundle.js',
// '/metronic/demo/default/base/scripts.bundle.js',
// '/metronic/app/js/dashboard.js',
]
],
],
],
],
'as access' => [
'class' => 'mdm\admin\components\AccessControl',
'allowActions' => [
'site/*',
// 'admin/*',
'user/*',
'user/settings/*',
'user/profile/*',
'some-controller/some-action',
]
],
'params' => $params,
];