Changeset 610 for trunk/admin/index.php


Ignore:
Timestamp:
Nov 26, 2013, 11:16:15 PM (11 years ago)
Author:
chronos
Message:
  • Added: Identification code to language list.
  • Fixed: Locale update to database used fixed language id. Now id is detected from language code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/index.php

    r609 r610  
    9595       
    9696        $Locale->AnalyzeCode(dirname(dirname(__FILE__)));
    97         $Locale->UpdateToDatabase($System->Database, 3);
     97        $Locale->UpdateToDatabase($System->Database, $Locale->Texts->Code);
    9898        $FileName = dirname(dirname(__FILE__)).'/locale/'.$Locale->Texts->Code.'.php';
    9999        $Locale->SaveToFile($FileName);
Note: See TracChangeset for help on using the changeset viewer.