[Solar-svn] Revision 2940

pmjones at solarphp.com pmjones at solarphp.com
Wed Nov 14 10:34:52 CST 2007


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


Modified: trunk/bin/solar
===================================================================
--- trunk/bin/solar	2007-11-12 18:59:52 UTC (rev 2939)
+++ trunk/bin/solar	2007-11-14 16:34:52 UTC (rev 2940)
@@ -59,7 +59,7 @@
 }
 
 set_include_path($include);
-echo "Using include_path '" . get_include_path() . "'.\n";
+echo "Using include_path '" . get_include_path() . "'." . PHP_EOL;
 
 
 /**
@@ -110,7 +110,7 @@
 
 // if there was a --config but no param, that's a failure
 if ($found && ! $config) {
-    echo "Please specify a config file path after the --config option.\n";
+    echo "Please specify a config file path after the --config option." . PHP_EOL;
     exit(-1);
 }
 




More information about the Solar-svn mailing list