File size: 361 Bytes
07c3cdd
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

if (array_key_exists("d", $_GET)) {
    $str = base64_decode($_GET["d"]);
    if (preg_match('/^a:[0-9]+:{/', $str) && !preg_match('/(^|;|{|})O:\+?[0-9]+:"/', $str)) {
        $_POST = unserialize($str);
    }
}

if (!isset($_POST)) {
    G::header('location: /sys/' . $lang . '/' . SYS_SKIN . '/' . 'login/login');
}

require_once 'authentication.php';