Several clean ups
[shipsimu.git] / inc / classes / middleware / debug / class_DebugMiddleware.php
index f46dbb5e065e3d3353a9429bf531879a4d32cd59..3e1d66d550c3085d86303f055ef2fc3462e7efb7 100644 (file)
@@ -5,10 +5,10 @@
  * become deprecated soon.
  *
  * @author             Roland Haeder <webmaster@mxchange.org>
- * @version            0.0.0
+ * @version            0.3.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.mxchange.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 class DebugMiddleware extends BaseMiddleware {
        /**
@@ -35,7 +35,7 @@ class DebugMiddleware extends BaseMiddleware {
        private static $thisInstance = null;
 
        /**
-        * Protected constructor
+        * Private constructor
         *
         * @return      void
         */
@@ -78,7 +78,7 @@ class DebugMiddleware extends BaseMiddleware {
                        );
 
                        // Run the constructed name
-                       eval($eval);
+                       @eval($eval);
 
                        // Was this successfull?
                        if ((is_object($debuggerClass)) && (method_exists($debuggerClass, "outputStream"))) {