403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /laragon3/www/ayongundang/app/Config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /laragon3/www/ayongundang/app/Config//Filters.php
<?php namespace Config;

use CodeIgniter\Config\BaseConfig;

class Filters extends BaseConfig
{

	// public function __construct() {
	// 	parent::__construct();
	// 	$this->request = \Config\Services::request(); 
	// 	$this->uri = $this->request->uri;

	// 	//==================filter untuk login dashboard===============
	// 	if($_SERVER['HTTP_HOST'] == DOMAIN_UTAMA || $_SERVER['HTTP_HOST'] == DOMAIN_UTAMA_WWW){
	// 		$this->filters = [
	// 			'authuser' => ['before' => ['user/*']]
	// 		];
	// 	}
	// }

	// Makes reading things below nicer,
	// and simpler to change out script that's used.
	public $aliases = [
		'csrf'     => \CodeIgniter\Filters\CSRF::class,
		'toolbar'  => \CodeIgniter\Filters\DebugToolbar::class,
		'honeypot' => \CodeIgniter\Filters\Honeypot::class,
		'authuser' => \App\Filters\AuthUser::class, 
		'authadmin' => \App\Filters\AuthAdmin::class, 
	];

	// Always applied before every request
	public $globals = [
		'before' => [
			//'honeypot'
			// 'csrf',
			// 'authuser' => ['user/*'],
		],
		'after'  => [
			'toolbar',
			//'honeypot'
		],
	];

	// Works on all of a particular HTTP method
	// (GET, POST, etc) as BEFORE filters only
	//     like: 'post' => ['CSRF', 'throttle'],
	public $methods = [];

	// List filter aliases and any before/after uri patterns
	// that they should run on, like:
	//    'isLoggedIn' => ['before' => ['account/*', 'profiles/*']],
	public $filters = [
		'authuser' => [ 'before' => ['user/*'] ],
		'authadmin' => [ 'before' => ['admin/*'] ]
	];
}

Youez - 2016 - github.com/yon3zu
LinuXploit