Commit 2c4cc386 authored by Arnaud Buathier's avatar Arnaud Buathier

Petit refactor

parent 3ff32b8e
......@@ -5,8 +5,7 @@
"compression": "GZ",
"intercept": true,
"directories": [
"src",
"templates"
"src"
],
"finder": [
{
......
No preview for this file type
......@@ -22,7 +22,7 @@ class TwigLoader implements ServiceFactory
{
$loader = new FilesystemLoader();
$loader->addPath($container->Config()->path_public());
$loader->addPath(__DIR__ . '/../../templates', 'internal');
$loader->addPath(__DIR__ . '/../Views', 'internal');
$registerNamespace = function (string $namespace, string $configName) use ($container, $loader) {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment