[Solar-svn] Revision 2941

pmjones at solarphp.com pmjones at solarphp.com
Wed Nov 14 10:35:39 CST 2007


Solar_Controller_Command: use PHP_EOL for OS-specific newline, instead of hard-coded unix newline char


Modified: trunk/Solar/Controller/Command.php
===================================================================
--- trunk/Solar/Controller/Command.php	2007-11-14 16:34:52 UTC (rev 2940)
+++ trunk/Solar/Controller/Command.php	2007-11-14 16:35:39 UTC (rev 2941)
@@ -379,7 +379,7 @@
     {
         fwrite(
             $this->_stdout,
-            $this->_vt100($text, $num, $replace) . "\n"
+            $this->_vt100($text, $num, $replace) . PHP_EOL
         );
     }
     
@@ -433,7 +433,7 @@
     {
         fwrite(
             $this->_stderr,
-            $this->_vt100($text, $num, $replace) . "\n"
+            $this->_vt100($text, $num, $replace) . PHP_EOL
         );
     }
     




More information about the Solar-svn mailing list