Use an i18n tool
This commit is contained in:
parent
e487438606
commit
16dec853f9
12 changed files with 662 additions and 97 deletions
14
init.php
Normal file
14
init.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
require_once 'i18n.php';
|
||||
|
||||
$i18n = new i18n('lang/lang_{LANGUAGE}.ini', 'cache/lang/', 'fr');
|
||||
$i18n->init();
|
||||
|
||||
include('db.php');
|
||||
|
||||
$db = new DataBase();
|
||||
if (!$db->isInit()) {
|
||||
echo L::db_init_error;
|
||||
return;
|
||||
}
|
||||
$db->cleanCloud();
|
Loading…
Add table
Add a link
Reference in a new issue