add classic mobile as a system plugin

This commit is contained in:
Andrew Dolgov
2013-03-26 18:55:57 +04:00
parent 554f658c0e
commit 9d9ed2b32a
37 changed files with 2200 additions and 0 deletions

15
plugins/mobile/logout.php Normal file
View 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");
?>