Use return instead of echo in the remaining core
Debug-messages still may use echo, and some functions in functions_image and trackback still use it to generate progress messages, which should get cleaned up as well but is not that urgent
This commit is contained in:
@ -41,7 +41,7 @@ if (!defined('IN_serendipity')) {
|
||||
|
||||
include(S9Y_INCLUDE_PATH . 'include/compat.inc.php');
|
||||
if (defined('USE_MEMSNAP')) {
|
||||
memSnap('Framework init');
|
||||
echo memSnap('Framework init');
|
||||
}
|
||||
|
||||
// The version string
|
||||
@ -296,7 +296,7 @@ if (!serendipity_db_connect()) {
|
||||
*/
|
||||
|
||||
if (defined('USE_MEMSNAP')) {
|
||||
memSnap('Framework init');
|
||||
echo memSnap('Framework init');
|
||||
}
|
||||
|
||||
serendipity_load_configuration();
|
||||
|
Reference in New Issue
Block a user