Skip to content
Snippets Groups Projects
Commit 715bee6d authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

Clean after merge request

parent 64790496
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ const MIGRATION_TABLE = 'framadate_migration'; ...@@ -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 @@ ...@@ -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 */
/* ---- */ /* ---- */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment