Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / security.php
index d33e5e7..cc18063 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Zugriff verweigert!                              *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -35,32 +40,32 @@ print "<pre>";
 debug_print_backtrace();
 die("</pre>");
 
-echo "<HTML>
-<HEAD>
-<TITLE>Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED!</TITLE>
-</HEAD>
-<BODY bgcolor=\"#880000\" text=\"#FFFFFF\">
-<DIV align=\"center\">
-<TABLE border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
-<TR>
-  <TD align=\"center\"><U><STRONG><BIG><BIG>A&nbsp;C&nbsp;C&nbsp;E&nbsp;S&nbsp;S&nbsp;&nbsp;&nbsp;D&nbsp;E&nbsp;N&nbsp;I&nbsp;E&nbsp;D&nbsp;!</BIG></BIG></STRONG></U></TD>
-</TR>
-<TR><TD height=\"10\"></TD></TR>
-<TR>
-  <TD align=\"center\">
+echo "<html>
+<head>
+<title>Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED!</title>
+</head>
+<body bgcolor=\"#880000\" text=\"#FFFFFF\">
+<div align=\"center\">
+<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
+<tr>
+  <td align=\"center\"><u><strong><big><big>A&nbsp;C&nbsp;C&nbsp;E&nbsp;S&nbsp;S&nbsp;&nbsp;&nbsp;D&nbsp;E&nbsp;N&nbsp;I&nbsp;E&nbsp;D&nbsp;!</big></big></strong></u></td>
+</tr>
+<tr><td height=\"10\"></td></tr>
+<tr>
+  <td align=\"center\">
     You have tried to open a protected file! Your access has been logged in the server's logfile with your IP number:
-  </TD>
-</TR>
-<TR><TD height=\"10\"></TD></TR>
-<TR>
-  <TD align=\"center\">
-    <STRONG>".GET_REMOTE_ADDR()."</STRONG>
-  </TD>
-</TR>
-</TABLE>
-</DIV>
-</BODY>
-</HTML>\n";
-exit();
+  </td>
+</tr>
+<tr><td height=\"10\"></td></tr>
+<tr>
+  <td align=\"center\">
+    <strong>".GET_REMOTE_ADDR()."</strong>
+  </td>
+</tr>
+</table>
+</div>
+</body>
+</html>\n";
+shutdown();
 //
 ?>