This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
kiduc
/
bibiuc.com
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
59
Wiki
Activity
Browse Source
session_destroy not useful,
because every request session_start is called
pull/55/head
Matthias Vogel
11 years ago
parent
e4ecaa72f7
commit
be5fabb0e5
1 changed files
with
0 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
system/admin/views/logout.html.php
+ 0
- 4
system/admin/views/logout.html.php
View File
@ -1,10 +1,6 @@
<
?
php
unset
(
$_SESSION
[
config
(
"
site.url
"
)]);
if
(
empty
(
$_SESSION
))
{
session_destroy
();
}
header
(
'location: login'
);
Write
Preview
Loading…
Cancel
Save