/* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
license. */
-require_once ("./inc/settings.php");
+if (!@include_once ("./inc/settings.php")) {
+ header ('Location: index.php');
+}
-$cookie_name = sprintf ("%sauth", DBPREFIX);
-setcookie ($cookie_name, "", time () - 3600, "" , "",false, true);
+setcookie (sprintf ("%sauth", DBPREFIX), "", time () - 3600, "" , "",false, true);
+setcookie (sprintf ("%suser", DBPREFIX), "", time () - 3600, "" , "",false, true);
header ('Location: index.php');
-
?>