simpleWordsCloud/init.php

16 lines
253 B
PHP
Raw Permalink Normal View History

2020-11-23 11:01:37 +01:00
<?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->buildTables();
2020-11-23 11:01:37 +01:00
$db->cleanCloud();