simpleWordsCloud/init.php

14 lines
233 B
PHP

<?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();