function __construct($db) { parent::__construct($db, SMARTY_TEMPLATE_SORTIES, SMARTY_COMPILE_SORTIES, SMARTY_CONFIG_SORTIES); $this->cache_dir = '/tmp/cache_sortie'; if (!file_exists('/tmp/cache_sortie')) { mkdir('/tmp/cache_sortie'); } $this->bobs_msgs = array(); $this->dests_notifications = ['*****@*****.**', '*****@*****.**', '*****@*****.**']; }
public function __construct($db) { setlocale(LC_ALL, LOCALE); parent::__construct($db, SMARTY_TEMPLATE_HIRONDELLES, SMARTY_COMPILE_HIRONDELLES, null, SMARTY_CACHEDIR_HIRONDELLES); }