Projet

Général

Profil

Anomalie #1615 » 1615.patch

Johan Cwiklinski, 14/01/2022 08:46

Voir les différences:

galette/includes/dependencies.php
DI\get('Slim\Views\Smarty')
);
$container->set('Slim\Views\Smarty', function (ContainerInterface $c) {
if (!defined('GALETTE_TPL_SUBDIR')) {
define(
'GALETTE_TPL_SUBDIR',
'templates/default/'
);
}
if (!defined('_CURRENT_THEME_PATH')) {
define(
'_CURRENT_THEME_PATH',
GALETTE_THEMES_PATH . 'default/'
);
}
if (!defined('GALETTE_THEME')) {
define(
'GALETTE_THEME',
'themes/default/'
);
}
$view = new \Slim\Views\Smarty(
rtrim(GALETTE_ROOT . GALETTE_TPL_SUBDIR, DIRECTORY_SEPARATOR),
[
    (1-1/1)