]> git.mxchange.org Git - mailer.git/blobdiff - inc/handler.php
Rewrites/fixes for handling config entries in SQLs
[mailer.git] / inc / handler.php
index 1c28ca893f87bd82be84240467f1bb38142d69ab..74eb58753db0a3e35ddbf41d591776fd0ef98c18 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 02/28/2009 *
- * ===============                              Last change: 02/28/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 02/28/2009 *
+ * ===================                          Last change: 02/28/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : handler.php                                      *
@@ -17,7 +17,8 @@
  * 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                           *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -38,8 +39,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
-       require($INC);
+       die();
 }
 
 // Error handler function
@@ -53,7 +53,7 @@ function __errorHandler ($errno, $errstr, $errfile, $errline) {
        );
 
        // Output message to user and die
-       debug_report_bug($message);
+       debug_report_bug($errfile, $errline, $message);
 }
 
 // Init error handler