1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-29 16:00:15 +02:00

Slim Framework integration #118 #117

- Snippets: refactoring
This commit is contained in:
Awilum
2019-05-29 00:52:03 +03:00
parent e8ff6c9532
commit 4aad48bd7d

View File

@@ -87,7 +87,7 @@ class Snippets
if (count($_snippets) > 0) {
foreach ($_snippets as $snippet) {
if ($snippet['type'] == 'file' && $snippet['extension'] == 'php') {
$snippet[$snippet['basename']] = $snippet['basename'];
$snippets[$snippet['basename']] = $snippet['basename'];
}
}
}