[Gnucash-changes] r14190 - htdocs/trunk - restore old info.php output.

Joshua Sled jsled at cvs.gnucash.org
Wed May 24 21:24:00 EDT 2006


Author: jsled
Date: 2006-05-24 21:23:59 -0400 (Wed, 24 May 2006)
New Revision: 14190
Trac: http://svn.gnucash.org/trac/changeset/14190

Modified:
   htdocs/trunk/info.php
Log:
restore old info.php output.


Modified: htdocs/trunk/info.php
===================================================================
--- htdocs/trunk/info.php	2006-05-25 01:21:29 UTC (rev 14189)
+++ htdocs/trunk/info.php	2006-05-25 01:23:59 UTC (rev 14190)
@@ -5,15 +5,16 @@
 
 function list_system_locales(){
    ob_start();
-   system('cat /etc/locale.gen');
+   system('locale -a');
    $str = ob_get_contents();
    ob_end_clean();
-   return split("\\n", trim($str));
+   return trim($str);
 }
 
-echo join('\n', list_system_locales());
-
+?><pre><?
+echo list_system_locales();
 ?>
+</pre>
 <hr />
 <?
 phpinfo();



More information about the gnucash-changes mailing list