exported from svn
This commit is contained in:
commit
03995d3bc6
85 changed files with 14765 additions and 0 deletions
9
admin/logout.php
Normal file
9
admin/logout.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
session_start();
|
||||
session_destroy();
|
||||
|
||||
$hostname = $_SERVER['HTTP_HOST'];
|
||||
$path = dirname(dirname($_SERVER['SCRIPT_NAME']));
|
||||
|
||||
header('Location: http://'.$hostname.($path == '/' ? '' : $path).'/');
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue