%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/frontend/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-frontend',
'timeZone' => 'Asia/Bangkok',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'controllerNamespace' => 'frontend\controllers',
'modules' => [
'booking' => [
'class' => 'frontend\modules\booking\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' => '@frontend/theme/oxygen',
'@dektrium/user/views' => '@frontend/theme/oxygen'
],
],
],
'request' => [
'csrfParam' => '_csrf-frontend',
],
// 'user' => [
// 'identityClass' => 'common\models\User',
// 'enableAutoLogin' => true,
// 'identityCookie' => ['name' => '_identity-frontend', 'httpOnly' => true],
// ],
'session' => [
// this is the name of the session cookie used for login on the frontend
'name' => 'advanced-frontend',
],
'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/*',
'booking/*',
]
],
'params' => $params,
];