diff options
| author | horus | 2021-03-15 18:24:50 +0100 |
|---|---|---|
| committer | horus | 2021-03-15 18:24:50 +0100 |
| commit | 3a0eafaefcfa1072aaede16ee3a69b7aa31d1372 (patch) | |
| tree | b66fc9c492ca7ca34dfe9f927f4631d284c1d985 | |
| parent | d2dc7ccfa1c3f296e6ca5e5ef9459ab154670b70 (diff) | |
| download | moehring-3a0eafaefcfa1072aaede16ee3a69b7aa31d1372.tar.gz | |
Autoloader
| -rw-r--r-- | app.php | 1 | ||||
| -rw-r--r-- | composer.json | 3 | ||||
| m--------- | views/tools/untrack | 0 |
3 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,6 @@ <?php require __DIR__ . '/vendor/autoload.php'; -require __DIR__ . '/functions.php'; $loader = new \Twig\Loader\FilesystemLoader(__DIR__ . '/views'); $twig = new \Twig\Environment($loader); # no cache diff --git a/composer.json b/composer.json index 8d8c008..fab641b 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,8 @@ { "require": { "twig/twig": "^3.0" + }, + "autoload": { + "files": [ "functions.php" ] } } diff --git a/views/tools/untrack b/views/tools/untrack -Subproject fb6c093495e346b9985c75f32878e12e54d946b +Subproject b34810cbff1c613290cf7d4282e242a58b1ddff |
