Ignore:
Timestamp:
Dec 4, 2013, 1:07:24 AM (11 years ago)
Author:
chronos
Message:
  • Modified: Rename class Locale which colide with intl extension.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Locale.php

    r618 r619  
    2626}
    2727
    28 class Locale extends Model
     28class LocaleFile extends Model
    2929{
    3030        var $Texts;
     
    167167                parent::__construct($System);
    168168                $this->Codes = array('en');
    169                 $this->CurrentLocale = new Locale($System);             
     169                $this->CurrentLocale = new LocaleFile($System);         
    170170        }
    171171       
     
    179179          {             
    180180                $Code = substr($FileName, 0, -4);
    181                 $Locale = new Locale($this->System);
     181                $Locale = new LocaleFile($this->System);
    182182                $Locale->Dir = $this->Dir;
    183183                $Locale->Load($Code);
     
    189189        function UpdateAll($Directory)
    190190        {
    191                 $Locale = new Locale($this->System);
     191                $Locale = new LocaleFile($this->System);
    192192                $Locale->AnalyzeCode($Directory);
    193193          $FileList = scandir($this->Dir);
     
    196196          if(substr($FileName, -4) == '.php')
    197197          {             
    198                   $FileLocale = new Locale($this->System);
     198                  $FileLocale = new LocaleFile($this->System);
    199199                  $FileLocale->Dir = $this->Dir;                 
    200200                  $FileLocale->Load(substr($FileName, 0, -4));
Note: See TracChangeset for help on using the changeset viewer.