2010-05-17 Junichi Satoh <junichi@rworks.jp>

* include/gettext.php: Changed the judgment method for 64bit systems.
	'x86_64' is not acceptable by some systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2010-05-17 03:31:18 +00:00
parent a15281dcde
commit 3257c25a01
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-05-17 Junichi Satoh <junichi@rworks.jp>
* include/gettext.php: Changed the judgment method for 64bit systems.
'x86_64' is not acceptable by some systems.
2010-05-14 Raúl Mateos <raulofpandora@gmail.com>
* operation/agentes/gis_view.php, tactical.php: Clean code. Updated year.

View File

@ -103,7 +103,7 @@ class gettext_reader {
$machine = @shell_exec('uname -m');
$enabled64Bits = false;
if ($machine == 'x86_64') {
if (ereg('64', $machine)) {
$enabled64Bits = true;
}