mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Convert PHP_EOL to \n for consistency
adf067e 보완
- classes 내에서 사용하는 PHP_EOL을 \n으로 교체
- common/framework/debug.php, common/scripts 내의 스크립트들은
OS에 맞춰야 하므로 수정하지 않음
This commit is contained in:
parent
adf067e557
commit
a6bb44bf88
5 changed files with 9 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue