X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=585e93771f29ec9d3c4ae7ce2054cd180f0a42eb;hp=370e2ff0f4baa6de2ebb75aa63686c53bf449234;hb=ddc8b6b30361d35a304a2b0e596dafc154799dbf;hpb=8e5bb526ab03b1de868e80e9bf0ef662ba2421a3 diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 370e2ff0..585e9377 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -5,7 +5,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -1346,7 +1346,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { } // END - if // Construct the full message - $stubMessage = sprintf("[%s:] Partial stub!", + $stubMessage = sprintf('[%s:] Partial stub!', $methodName ); @@ -1377,7 +1377,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { // Sorry, there is no other way getting this nice backtrace if (!empty($message)) { // Output message - printf("Message: %s
" . chr(10), $message); + printf('Message: %s
' . chr(10), $message); } // END - if print('
');
@@ -1422,7 +1422,10 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
 				// Print message
 				print($message . chr(10));
 			} else {
-				// DO NOT REWRITE THIS TO app_die() !!!
+				/*
+				 * BIG FAT NOTE: Do NEVER rewrite this to app_die(), this will
+				 * cause an endless loop.
+				 */
 				die($message);
 			}
 		}