add classic mobile as a system plugin
This commit is contained in:
15
plugins/mobile/logout.php
Normal file
15
plugins/mobile/logout.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$basedir = dirname(dirname(dirname(__FILE__)));
|
||||
|
||||
set_include_path(
|
||||
dirname(__FILE__) . PATH_SEPARATOR .
|
||||
$basedir . PATH_SEPARATOR .
|
||||
"$basedir/include" . PATH_SEPARATOR .
|
||||
get_include_path());
|
||||
|
||||
require_once "mobile-functions.php";
|
||||
|
||||
logout_user();
|
||||
|
||||
header("Location: index.php");
|
||||
?>
|
||||
Reference in New Issue
Block a user