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
|
||||
const TABLENAME_PREFIX = 'fd_';
|
||||
|
||||
// Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES)
|
||||
// Default Language
|
||||
const DEFAULT_LANGUAGE = 'fr';
|
||||
|
||||
// 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\Services\LogService;
|
||||
use Framadate\Services\MailService;
|
||||
use Framadate\Services\PollService;
|
||||
|
||||
include_once __DIR__ . '/app/inc/init.php';
|
||||
|
||||
/* SERVICES */
|
||||
/* -------- */
|
||||
$logService = '\Framadate\Services\LogService';
|
||||
$pollService = new PollService($connect, new $logService());
|
||||
$mailService = new \Framadate\Services\MailService($config['use_smtp']);
|
||||
$logService = new LogService();
|
||||
$pollService = new PollService($connect, $logService);
|
||||
$mailService = new MailService($config['use_smtp']);
|
||||
|
||||
/* PAGE */
|
||||
/* ---- */
|
||||
|
Loading…
Reference in New Issue
Block a user