Ignore:
Timestamp:
Aug 12, 2012, 11:22:20 PM (12 years ago)
Author:
grum
Message:

feature:2701
bug:2702
bug:2720
bug:2722

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/JpegMetaData/External/php-gettext/gettext.inc

    r4686 r17554  
    197197    global $text_domains;
    198198    // ensure $path ends with a slash ('/' should work for both, but lets still play nice)
     199    /*
     200      --- some hoster sometimess deactivate the php_uname()
     201          in all case, it's better to work with the DIRECTORY_SEPARATOR
     202
    199203    if (substr(php_uname(), 0, 7) == "Windows") {
    200204      if ($path[strlen($path)-1] != '\\' and $path[strlen($path)-1] != '/')
     
    204208        $path .= '/';
    205209    }
     210    */
     211      if ($path[strlen($path)-1] != DIRECTORY_SEPARATOR)
     212        $path .= DIRECTORY_SEPARATOR;
     213
    206214    if (!array_key_exists($domain, $text_domains)) {
    207215      // Initialize an empty domain object.
Note: See TracChangeset for help on using the changeset viewer.