HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/backip-old-files/libraries/smartslider3/src/Framework/Request/Request.php
<?php


namespace Nextend\Framework\Request;

use Nextend\Framework\PageFlow;

class Request {

    /**
     * @var Storage
     */
    public static $REQUEST;

    /**
     * @var Storage
     */
    public static $GET;

    /**
     * @var Storage
     */
    public static $POST;

    private static $requestUri;

    public static $isAjax = false;

    public function __construct() {
        self::$REQUEST = new Storage($_REQUEST);
        self::$GET     = new Storage($_GET);
        self::$POST    = new Storage($_POST);
    }

    /**
     * @param array|string $url
     * @param integer      $statusCode
     * @param bool         $terminate
     */
    public static function redirect($url, $statusCode = 302, $terminate = true) {

        header('Location: ' . $url, true, $statusCode);
        if ($terminate) {
            PageFlow::exitApplication();
        }
    }
}

new Request();