X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsql_error.php;h=7918cd1a45202dc59ccc1f133604dc64e63cc1eb;hb=b8bb07ca2993ae80746a809853fdd46f5cde14e3;hp=fa001a2ff686940cebbd1f718ecff0c8197c928a;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/sql_error.php b/inc/sql_error.php index fa001a2ff6..7918cd1a45 100644 --- a/inc/sql_error.php +++ b/inc/sql_error.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Gibt MySQL-Fehler aus * * -------------------------------------------------------------------- * - * * + * $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 * @@ -32,9 +37,8 @@ ************************************************************************/ // Some security stuff... -if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) -{ - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; +if (!defined('__SECURITY')) { + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); }