X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fhelper%2Fclass_BaseHelper.php;h=0b7e06ad5ce3f3f24ba5f7e248d6a30adb5192cc;hp=172846a9cea2d3c2faf44ed250bbd6f136620b10;hb=04bc89cf40643171b26be910fef8c48d08b346fb;hpb=f837ed3b51b8bf7fdcd738886e59a6579cbfb0b0 diff --git a/inc/classes/main/helper/class_BaseHelper.php b/inc/classes/main/helper/class_BaseHelper.php index 172846a9..0b7e06ad 100644 --- a/inc/classes/main/helper/class_BaseHelper.php +++ b/inc/classes/main/helper/class_BaseHelper.php @@ -87,7 +87,7 @@ class BaseHelper extends BaseFrameworkSystem { * @return void */ protected final function addContent ($newContent) { - $this->content .= (string) trim($newContent) . chr(10); + $this->content .= (string) trim($newContent) . PHP_EOL; } /** @@ -391,7 +391,7 @@ class BaseHelper extends BaseFrameworkSystem { // Is header content there? if (isset($this->groups['header'])) { // Then add it - $content .= $this->groups['header']['content'] . chr(10); + $content .= $this->groups['header']['content'] . PHP_EOL; } // END - if // Initiate content @@ -419,7 +419,7 @@ class BaseHelper extends BaseFrameworkSystem { // Is footer content there? if (isset($this->groups['footer'])) { // Then add it - $content .= $this->groups['footer']['content'] . chr(10); + $content .= $this->groups['footer']['content'] . PHP_EOL; } // END - if // Return it