X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fsecurity.php;h=1c2245aebb494810d5cd5231a7fa633fc2d5f15f;hp=ecbad40c34d85d2b2573c67a3232d7dae62ff7a0;hb=12d1414024e87153a133bb1d0fe0185ca2c700c5;hpb=7f104f6fe558bb56b4205241435a2357c2feece1 diff --git a/inc/security.php b/inc/security.php index ecbad40c34..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 * @@ -30,37 +35,37 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, * * MA 02110-1301 USA * ************************************************************************/ -/* + 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 !
+ +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: -
- ".GET_REMOTE_ADDR()." -
-
- -\n"; -exit(); +
+ ".detectRemoteAddr()." +
+
+ +\n"; +shutdown(); // ?>