Warning: Trying to access array offset on null in /var/www/alexvillarreal/wp-content/mu-plugins/index.php on line 2

Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/alexvillarreal/wp-content/mu-plugins/index.php on line 2
403WebShell
403Webshell
Server IP : 74.208.250.37  /  Your IP : 216.73.216.233
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : miferval ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/aprendizajeodisea/system/aura/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/aprendizajeodisea/system/aura/admin_routes.php
<?php
/**
 *APP Routes Map
 **/

 //Routs
$router->add('home', '/')
		->setValues([
			'controller' => 'dashboard',
			'action'	=> 'index'
			]);

$router->add('dashboard', '/dashboard')
		->setValues([
			'controller' => 'dashboard',
			'action'	=> 'index'
			]);

$router->add('pagina', '/pagina{/action,id}')
    ->addValues(array(
        'controller' => 'pagina',
        'action' => 'index',
        'id' => null, 
    ));
$router->add('usuarios', '/usuarios{/action,id}')
    ->addValues(array(
        'controller' => 'users',
        'action' => 'index',
        'id' => null,
    )); 
$router->add('blog', '/blog{/action,id}')
    ->addValues(array(
        'controller' => 'blog',
        'action' => 'index',
        'id' => null,
    ));            
/*/TESTIMONIO/*/
$router->add('testimonio', '/testimonio{/action,id}')
    ->addValues(array(
        'controller' => 'testimonio',
        'action' => 'index',
        'id' => null,
    ));
/*/EQUIPO/*/
$router->add('equipo', '/equipo{/action,id}')
    ->addValues(array(
        'controller' => 'equipo',
        'action' => 'index',
        'id' => null,
    ));                
/*/SPEAKERS/*/
$router->add('speakers', '/speakers{/action,id}')
    ->addValues(array(
        'controller' => 'speakers',
        'action' => 'index',
        'id' => null,
    ));       
/*/EVENTOS/*/
$router->add('eventos', '/eventos{/action,id}')
    ->addValues(array(
        'controller' => 'eventos',
        'action' => 'index',
        'id' => null,
    ));

/*/CLIENTES/*/
$router->add('clientes', '/clientes{/action,id}')
    ->addValues(array(
        'controller' => 'clientes',
        'action' => 'index',
        'id' => null,
    ));      
$path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$path = str_replace('/admin', '', $path);

// get the route based on the path and server
$route = $router->match($path, $_SERVER);

//var_dump($route);
if ($route) {
    $params = $route->params;
    $params['post'] = $_POST;
    $params['query'] = $_GET;
    $params['server'] = $_SERVER;
    //$dispatcher($params);
    //var_dump($dispatcher);
    //var_dump($params);
    //print_r($result);
}
else{
	
	$params = ([
			'controller' => 'notfound',
			'action'	=> 'index'
			]);
    
}
$dispatcher->setObject('dashboard', new AdminControllerDashboard($registry,$params));
$dispatcher->setObject('blog', new AdminControllerBlog($registry,$params));
$dispatcher->setObject('pagina', new AdminControllerPage($registry,$params));
$dispatcher->setObject('users', new AdminControllerUser($registry,$params));
$dispatcher->setObject('testimonio', new AdminControllerTestimonios($registry,$params));
$dispatcher->setObject('equipo', new AdminControllerEquipo($registry,$params));
$dispatcher->setObject('speakers', new AdminControllerSpeakers($registry,$params));
$dispatcher->setObject('eventos', new AdminControllerEventos($registry,$params));
$dispatcher->setObject('clientes', new AdminControllerClientes($registry,$params));
$dispatcher->setObject('notfound', new ControllerNotFound($registry));

Youez - 2016 - github.com/yon3zu
LinuXploit