Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBViewerAPI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBViewerAPI
Commits
1f711213
Commit
1f711213
authored
Feb 29, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
4a21c5d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.php
webapp/index.php
+3
-2
No files found.
webapp/index.php
View file @
1f711213
...
@@ -99,7 +99,7 @@ if($_GET["action"] == "filme"){
...
@@ -99,7 +99,7 @@ if($_GET["action"] == "filme"){
}
else
if
(
$_GET
[
"action"
]
==
"rechte"
){
}
else
if
(
$_GET
[
"action"
]
==
"rechte"
){
$titel
=
"Rechteverwaltung"
;
$titel
=
"Rechteverwaltung"
;
$content
=
"<h1>Rechteverwaltung</h1>"
;
$content
=
'<div class="content"><h1>Rechteverwaltung</h1>'
;
if
(
!
file_exists
(
API_Rights
)){
if
(
!
file_exists
(
API_Rights
)){
// defaultdatei anlegen...
// defaultdatei anlegen...
...
@@ -117,11 +117,12 @@ if($_GET["action"] == "filme"){
...
@@ -117,11 +117,12 @@ if($_GET["action"] == "filme"){
file_put_contents
(
API_Rights
,
json_encode
(
$rights
));
file_put_contents
(
API_Rights
,
json_encode
(
$rights
));
}
}
if
(
!
file_exists
(
API_Rights
)){
if
(
!
file_exists
(
API_Rights
)){
$Data
=
json_decode
(
file_get_contents
(
API_Rights
));
$Data
=
(
file_get_contents
(
API_Rights
));
ob_start
();
ob_start
();
var_dump
(
$Data
);
var_dump
(
$Data
);
$content
.=
ob_get_clean
();
$content
.=
ob_get_clean
();
}
}
$content
.=
"</div>"
;
}
else
if
(
$_GET
[
"action"
]
==
"vergleich"
){
}
else
if
(
$_GET
[
"action"
]
==
"vergleich"
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment