ttrss/plugins/mobile/logout.php

16 lines
299 B
PHP

<?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");
?>