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
dc41d55a
Commit
dc41d55a
authored
5 years ago
by
Joel Kuder
Browse files
Options
Downloads
Plain Diff
Merge branch 'patch-29' into 'dev-3.0'
Update session.lib.php See merge request
!32
parents
72065055
dfd5da02
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!46
Release 3.0
,
!32
Update session.lib.php
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/session.lib.php
+1
-1
1 addition, 1 deletion
lib/session.lib.php
with
1 addition
and
1 deletion
lib/session.lib.php
+
1
−
1
View file @
dc41d55a
...
...
@@ -18,7 +18,7 @@ if (!isset($_GET['ref'])) $_GET['ref'] = "0";
if
(
$_SESSION
[
'werber'
]
==
"0"
)
$_SESSION
[
'werber'
]
=
(
int
)
$_GET
[
'ref'
];
// Seiteneinstellungen laden...
$pageconfig
=
sql
::
$db
->
prepare
(
"SELECT * FROM `"
.
_VMS_
.
"_seitenkonfig` LIMIT 1"
)
->
fetch
();
$pageconfig
=
sql
::
$db
->
query
(
"SELECT * FROM `"
.
_VMS_
.
"_seitenkonfig` LIMIT 1"
)
->
fetch
();
if
(
$pageconfig
[
'wartung'
]
==
1
&&
$_SESSION
[
'uid'
]
!=
$system
[
'admin_id'
]
&&
strpos
(
$_SERVER
[
'PHP_SELF'
],
"/adminforce/"
)
==
false
)
{
setCookie
(
'uid'
,
''
,
time
()
-
86400
*
30
);
...
...
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