* added administration panel for screenshots management with auto thumbnail generator

* moved commands & screenshots html code to twig template files
* minimum PHP version to install the MyAAC is now 5.2.0 cause of pathinfo (extension) function
This commit is contained in:
slawkens
2017-08-28 16:27:38 +02:00
parent 7890eb14d1
commit b62ce7ec6f
10 changed files with 452 additions and 121 deletions

View File

@@ -35,6 +35,11 @@ $twig = new Twig_Environment($loader, array(
'cache' => CACHE . 'twig/',
));
$function = new Twig_SimpleFunction('getStyle', function ($i) {
return getStyle($i);
});
$twig->addFunction($function);
// trim values we receive
if(isset($_POST))
{