logout.php 299 B

123456789101112131415
  1. <?php
  2. $basedir = dirname(dirname(dirname(__FILE__)));
  3. set_include_path(
  4. dirname(__FILE__) . PATH_SEPARATOR .
  5. $basedir . PATH_SEPARATOR .
  6. "$basedir/include" . PATH_SEPARATOR .
  7. get_include_path());
  8. require_once "mobile-functions.php";
  9. logout_user();
  10. header("Location: index.php");
  11. ?>