mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
added code to stop raintpl from eating \r on new lines for yealink and similar phones.
This commit is contained in:
@@ -312,6 +312,9 @@ class RainTPL{
|
||||
|
||||
// fix the php-eating-newline-after-closing-tag-problem
|
||||
$template_compiled = str_replace( "?>\n", "?>\n\n", $template_compiled );
|
||||
|
||||
// fix the php-eating-carridge-returns-after-closing-tag-problem
|
||||
$template_compiled = str_replace( "?>\r", "?>\r\r", $template_compiled );
|
||||
|
||||
// create directories
|
||||
if( !is_dir( $cache_dir ) )
|
||||
|
||||
Reference in New Issue
Block a user