Clean after merge request

This commit is contained in:
Olivier PEREZ 2015-04-13 23:53:28 +02:00
parent 64790496a5
commit 715bee6d7b
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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 */
/* ---- */ /* ---- */