]> dev.renevier.net Git - syp.git/blob - logout.php
option to show popup near marker or on a corner
[syp.git] / logout.php
1 <?php
2 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
3    license. */
4
5 if (!@include_once ("./inc/settings.php")) {
6     header ('Location: index.php');
7 }
8
9 setcookie (sprintf ("%sauth", DBPREFIX), "", time () - 3600, "" , "",false, true);
10 setcookie (sprintf ("%suser", DBPREFIX), "", time () - 3600, "" , "",false, true);
11 header ('Location: index.php');
12 ?>