Clean after merge request
This commit is contained in:
parent
64790496a5
commit
715bee6d7b
@ -41,7 +41,7 @@ const MIGRATION_TABLE = 'framadate_migration';
|
|||||||
// Table name prefix
|
// Table name prefix
|
||||||
const TABLENAME_PREFIX = 'fd_';
|
const TABLENAME_PREFIX = 'fd_';
|
||||||
|
|
||||||
// Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES)
|
// Default Language
|
||||||
const DEFAULT_LANGUAGE = 'fr';
|
const DEFAULT_LANGUAGE = 'fr';
|
||||||
|
|
||||||
// List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6
|
// List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6
|
||||||
|
@ -18,15 +18,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use Framadate\Message;
|
use Framadate\Message;
|
||||||
|
use Framadate\Services\LogService;
|
||||||
|
use Framadate\Services\MailService;
|
||||||
use Framadate\Services\PollService;
|
use Framadate\Services\PollService;
|
||||||
|
|
||||||
include_once __DIR__ . '/app/inc/init.php';
|
include_once __DIR__ . '/app/inc/init.php';
|
||||||
|
|
||||||
/* SERVICES */
|
/* SERVICES */
|
||||||
/* -------- */
|
/* -------- */
|
||||||
$logService = '\Framadate\Services\LogService';
|
$logService = new LogService();
|
||||||
$pollService = new PollService($connect, new $logService());
|
$pollService = new PollService($connect, $logService);
|
||||||
$mailService = new \Framadate\Services\MailService($config['use_smtp']);
|
$mailService = new MailService($config['use_smtp']);
|
||||||
|
|
||||||
/* PAGE */
|
/* PAGE */
|
||||||
/* ---- */
|
/* ---- */
|
||||||
|
Loading…
Reference in New Issue
Block a user