Changeset 619
- Timestamp:
- Dec 4, 2013, 1:07:24 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/install.php
r611 r619 12 12 include_once(dirname(__FILE__).'/../includes/Version.php'); 13 13 include_once(dirname(__FILE__).'/../includes/Locale.php'); 14 $Locale = new Locale ();14 $Locale = new LocaleFile(); 15 15 $Locale->Dir = dirname(__FILE__).'/../locale'; 16 16 $Locale->Load($Config['Web']['Locale']); -
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)); -
trunk/includes/Version.php
r618 r619 6 6 // and system will need database update. 7 7 8 $Revision = 61 8; // Subversion revision8 $Revision = 619; // Subversion revision 9 9 $DatabaseRevision = 610; // Database structure revision 10 10 $ReleaseTime = '2013-12-04';
Note:
See TracChangeset
for help on using the changeset viewer.