Changeset 619 for trunk/includes/Locale.php
- Timestamp:
- Dec 4, 2013, 1:07:24 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Locale.php
r618 r619 26 26 } 27 27 28 class Locale extends Model28 class LocaleFile extends Model 29 29 { 30 30 var $Texts; … … 167 167 parent::__construct($System); 168 168 $this->Codes = array('en'); 169 $this->CurrentLocale = new Locale ($System);169 $this->CurrentLocale = new LocaleFile($System); 170 170 } 171 171 … … 179 179 { 180 180 $Code = substr($FileName, 0, -4); 181 $Locale = new Locale ($this->System);181 $Locale = new LocaleFile($this->System); 182 182 $Locale->Dir = $this->Dir; 183 183 $Locale->Load($Code); … … 189 189 function UpdateAll($Directory) 190 190 { 191 $Locale = new Locale ($this->System);191 $Locale = new LocaleFile($this->System); 192 192 $Locale->AnalyzeCode($Directory); 193 193 $FileList = scandir($this->Dir); … … 196 196 if(substr($FileName, -4) == '.php') 197 197 { 198 $FileLocale = new Locale ($this->System);198 $FileLocale = new LocaleFile($this->System); 199 199 $FileLocale->Dir = $this->Dir; 200 200 $FileLocale->Load(substr($FileName, 0, -4));
Note:
See TracChangeset
for help on using the changeset viewer.