diff options
author | Brion Vibber <brion@pobox.com> | 2009-10-13 14:51:23 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-10-13 14:54:48 -0700 |
commit | ffeef6520c4e9e1d691bcea8a15aa8097ceb1d37 (patch) | |
tree | b0618f04f8457f9dbfbb70d2cb21daea9a12b1ad /extlib/php-gettext/gettext.inc | |
parent | 8be28f478dd578f1b8fca561238b9ee5a13c6b27 (diff) |
Commit upstream updates to php-gettext after the 1.0.7 release (but in 2006! :P)
Fixes file magic checks on 64-bit systems.
http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/17
http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/18
http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/19
Diffstat (limited to 'extlib/php-gettext/gettext.inc')
-rw-r--r-- | extlib/php-gettext/gettext.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extlib/php-gettext/gettext.inc b/extlib/php-gettext/gettext.inc index eb94b256a..fcaafe7c9 100644 --- a/extlib/php-gettext/gettext.inc +++ b/extlib/php-gettext/gettext.inc @@ -148,9 +148,9 @@ function _setlocale($category, $locale) { */ function _bindtextdomain($domain, $path) { global $text_domains; - // ensure $path ends with a slash - if ($path[strlen($path) - 1] != '/') $path .= '/'; - elseif ($path[strlen($path) - 1] != '\\') $path .= '\\'; + // ensure $path ends with a slash + if ($path[strlen($path) - 1] != '/') $path .= '/'; + elseif ($path[strlen($path) - 1] != '\\') $path .= '\\'; $text_domains[$domain]->path = $path; } |