Convert PHP_EOL to \n for consistency

adf067e 보완

- classes 내에서 사용하는 PHP_EOL을 \n으로 교체
- common/framework/debug.php, common/scripts 내의 스크립트들은
  OS에 맞춰야 하므로 수정하지 않음
This commit is contained in:
Kijin Sung 2020-08-06 14:54:32 +09:00
parent adf067e557
commit a6bb44bf88
5 changed files with 9 additions and 9 deletions

View file

@ -2459,7 +2459,7 @@ class Context
*/
public static function addHtmlHeader($header)
{
self::$_instance->html_header .= (self::$_instance->html_header ? PHP_EOL : '') . $header;
self::$_instance->html_header .= (self::$_instance->html_header ? "\n" : '') . $header;
}
public static function clearHtmlHeader()
@ -2506,7 +2506,7 @@ class Context
*/
public static function addBodyHeader($header)
{
self::$_instance->body_header .= (self::$_instance->body_header ? PHP_EOL : '') . $header;
self::$_instance->body_header .= (self::$_instance->body_header ? "\n" : '') . $header;
}
/**
@ -2526,7 +2526,7 @@ class Context
*/
public static function addHtmlFooter($footer)
{
self::$_instance->html_footer .= (self::$_instance->html_footer ? PHP_EOL : '') . $footer;
self::$_instance->html_footer .= (self::$_instance->html_footer ? "\n" : '') . $footer;
}
/**