Commit 1f711213 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4a21c5d1
......@@ -99,7 +99,7 @@ if($_GET["action"] == "filme"){
}else if($_GET["action"] == "rechte"){
$titel = "Rechteverwaltung";
$content = "<h1>Rechteverwaltung</h1>";
$content = '<div class="content"><h1>Rechteverwaltung</h1>';
if(!file_exists(API_Rights)){
// defaultdatei anlegen...
......@@ -117,11 +117,12 @@ if($_GET["action"] == "filme"){
file_put_contents(API_Rights, json_encode($rights));
}
if(!file_exists(API_Rights)){
$Data = json_decode(file_get_contents(API_Rights));
$Data = (file_get_contents(API_Rights));
ob_start();
var_dump($Data);
$content .= ob_get_clean();
}
$content .= "</div>";
}else if($_GET["action"] == "vergleich"){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment