Commit 0037d4bb authored by Nico Schallehn's avatar Nico Schallehn

test

parent 7e679073
...@@ -169,7 +169,7 @@ if($_GET["action"] == "filme"){ ...@@ -169,7 +169,7 @@ if($_GET["action"] == "filme"){
"DebugO" => true) "DebugO" => true)
); );
file_put_contents(API_Rights, json_encode($rights)); file_put_contents(API_Rights, json_encode($rights,JSON_PRETTY_PRINT));
} }
if(file_exists(API_Rights)){ if(file_exists(API_Rights)){
$Data = json_decode(file_get_contents(API_Rights), true); $Data = json_decode(file_get_contents(API_Rights), true);
...@@ -191,7 +191,7 @@ if($_GET["action"] == "filme"){ ...@@ -191,7 +191,7 @@ if($_GET["action"] == "filme"){
} }
} }
file_put_contents(API_Rights, json_encode($Data)); file_put_contents(API_Rights, json_encode($Data,JSON_PRETTY_PRINT));
} }
......
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