Skip to content

Commit 8c55feb

Browse files
frag-sebandig
authored andcommitted
Fix the function import #76
1 parent 37b869a commit 8c55feb

File tree

3 files changed

+4
-1360
lines changed

3 files changed

+4
-1360
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/vendor/
1+
/vendor/
2+
composer.lock

Bootstraps/Symfony.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use PHPPM\Symfony\StrongerNativeSessionStorage;
66
use PHPPM\Utils;
77
use Symfony\Component\HttpFoundation\Request;
8+
use function PHPPM\register_file;
89

910
/**
1011
* A default bootstrap for the Symfony framework
@@ -113,7 +114,7 @@ public function postHandle($app)
113114
$twigLoader = $container->get('twig.loader');
114115
Utils::bindAndCall(function() use ($twigLoader) {
115116
foreach ($twigLoader->cache as $path) {
116-
ppm_register_file($path);
117+
register_file($path);
117118
}
118119
}, $twigLoader);
119120
}

0 commit comments

Comments
 (0)