示例#1
0
文件: rme.php 项目: nemiah/trinityDB
}
$par = str_replace(";-;;raute;;-;", "#", $par);
$par = str_replace(";-;;und;;-;", "&", $par);
$par = str_replace(";-;;prozent;;-;", "%", $par);
$par = str_replace(";-;;istgleich;;-;", "=", $par);
$par = str_replace(";-;;frage;;-;", "?", $par);
if ($met == "getHTML") {
    exit;
}
require "../system/connect.php";
#var_dump($cla);
#var_dump(AppPlugins::blockUser($cla));
if ($cla != "Users" and $met != "doLogin" and $_SESSION["S"]->checkIfUserLoggedIn() == true) {
    die("-1");
}
if ($cla != "Users" and $cla != "Util" and $cla != "mUserdata" and $cla != "mWebsocket" and $cla != "HTML" and $cla != "Support" and $cla != "nicEdit" and $met != "doLogin" and $met != "createMyTable" and $met != "checkMyTables" and !$_SESSION["S"]->checkIfUserIsAllowed($cla) and AppPlugins::i()->blockNonAdmin($cla)) {
    die("You are not allowed to see this Page!");
}
$build = Phynx::build();
if ($build) {
    header("X-Build: " . $build);
}
if (isset($bps)) {
    $_SESSION["BPS"]->setByString($bps);
}
/*
$_GET["class"];  		//Class of method $_GET["method"]
$_GET["constructor"];	//Parameters to forward to constructor of $_GET["class"]
$_GET["method"];		//Method to call in $_GET["class"]
$_GET["parameters"]		//Parameters to call method $_GET["method"] with
*/