Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VMSone
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Designerscripte
VMSone
Commits
55c2693b
Commit
55c2693b
authored
5 years ago
by
Henoch Einbier
Browse files
Options
Downloads
Patches
Plain Diff
Update index.php
-moved content check variable to beginning (notice caused by empty var)
parent
9e5caba2
2 merge requests
!46
Release 3.0
,
!14
Update index.php
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
adminforce/index.php
+3
-1
3 additions, 1 deletion
adminforce/index.php
with
3 additions
and
1 deletion
adminforce/index.php
+
3
−
1
View file @
55c2693b
<?php
if
(
!
isset
(
$_GET
[
'content'
])
||
empty
(
$_GET
[
'content'
]))
$_GET
[
'content'
]
=
'/startseite'
;
if
(
strpos
(
$_GET
[
'content'
],
'/logout/'
)
!==
false
)
{
session_start
();
unset
(
$_SESSION
[
'admin'
]);
...
...
@@ -11,7 +13,7 @@
if
(
!
isset
(
$_GET
[
'content'
])
||
empty
(
$_GET
[
'content'
]))
$_GET
[
'content'
]
=
'/startseite'
;
if
(
!
file_exists
(
'content'
.
$_GET
[
'content'
]
.
'.php'
))
$_GET
[
'content'
]
=
'/error/keine_seite'
;
require
(
'../lib/extras.init.php'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment