X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsecurity.php;h=1c2245aebb494810d5cd5231a7fa633fc2d5f15f;hb=e9d9b430aa90c0519671702ce9fe13fc497451d6;hp=2bf08fc73bedbddbcd5a8932ec2173a70a01887e;hpb=ae51687a0bf708aeca3d68263320804ae0dd42ef;p=mailer.git diff --git a/inc/security.php b/inc/security.php index 2bf08fc73b..1c2245aebb 100644 --- a/inc/security.php +++ b/inc/security.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Zugriff verweigert! * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * 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 * @@ -31,32 +36,36 @@ * MA 02110-1301 USA * ************************************************************************/ -echo " - -Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED! - - -
- - - - - - - + + + + + +
A C C E S S   D E N I E D !
+print "
";
+debug_print_backtrace();
+die("
"); + +echo " + +Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED! + + +
+ + + + + + + - - - - - -
A C C E S S   D E N I E D !
You have tried to open a protected file! Your access has been logged in the server's logfile with your IP number: -
- ".getenv('REMOTE_ADDR')." -
-
- -\n"; -exit(); +
+ ".detectRemoteAddr()." +
+
+ +\n"; +shutdown(); // ?>