projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
symfony
/
dependency-injection
/
Loader
/
DirectoryLoader.php
diff --git
a/vendor/symfony/dependency-injection/Loader/DirectoryLoader.php
b/vendor/symfony/dependency-injection/Loader/DirectoryLoader.php
index ffb8853011134f45a846cde72e5d3014c07cbc99..769f1026e8d988e247b2075ab011e848704f7756 100644
(file)
--- a/
vendor/symfony/dependency-injection/Loader/DirectoryLoader.php
+++ b/
vendor/symfony/dependency-injection/Loader/DirectoryLoader.php
@@
-11,8
+11,6
@@
namespace Symfony\Component\DependencyInjection\Loader;
namespace Symfony\Component\DependencyInjection\Loader;
-use Symfony\Component\Config\Resource\DirectoryResource;
-
/**
* DirectoryLoader is a recursive loader to go through directories.
*
/**
* DirectoryLoader is a recursive loader to go through directories.
*
@@
-27,7
+25,7
@@
class DirectoryLoader extends FileLoader
{
$file = rtrim($file, '/');
$path = $this->locator->locate($file);
{
$file = rtrim($file, '/');
$path = $this->locator->locate($file);
- $this->container->
addResource(new DirectoryResource($path)
);
+ $this->container->
fileExists($path, false
);
foreach (scandir($path) as $dir) {
if ('.' !== $dir[0]) {
foreach (scandir($path) as $dir) {
if ('.' !== $dir[0]) {