Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/lib/Platon.php between version 1.3 and 1.4

version 1.3, 2005/11/07 22:24:36 version 1.4, 2005/11/07 23:32:32
Line 24 
Line 24 
  * @access      public   * @access      public
  */   */
   
 /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.32 2005/11/07 22:02:29 nepto Exp $ */  /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.33 2005/11/07 23:21:17 nepto Exp $ */
   
 class Platon  class Platon
 {  {
Line 823  class Platon
Line 823  class Platon
                 array('sk', 'cz', 'cs'),                  array('sk', 'cz', 'cs'),
                 array('en', 'gb', 'us', 'au')                  array('en', 'gb', 'us', 'au')
                 );                  );
         $l_default = array_shift($l_core_ar);  
         $l_user_ar = Platon::parse_HTTP_accept_language($accept_lang);          $l_user_ar = Platon::parse_HTTP_accept_language($accept_lang);
         $l_tld     = Platon::get_top_level_domain($remote_host);          $l_tld     = Platon::get_top_level_domain($remote_host);
         $l_tld != false && $l_user_ar += array($l_tld);          $l_tld != false && $l_user_ar += array($l_tld);
Line 844  class Platon
Line 843  class Platon
                 break;                  break;
             }              }
         }          }
         return $l_default;          return false;
     } /*  }}} */      } /*  }}} */
   
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top