Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.14.152.212
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-test /
vendor /
symfony /
routing /
Loader /
Delete
Unzip
Name
Size
Permission
Date
Action
Configurator
[ DIR ]
drwxr-xr-x
2018-11-29 14:48
DependencyInjection
[ DIR ]
drwxr-xr-x
2018-11-29 14:48
schema
[ DIR ]
drwxr-xr-x
2018-11-29 14:48
AnnotationClassLoader.php
11.12
KB
-rw-r--r--
2018-11-29 14:48
AnnotationDirectoryLoader.php
2.76
KB
-rw-r--r--
2018-11-29 14:48
AnnotationFileLoader.php
4.26
KB
-rw-r--r--
2018-11-29 14:48
ClosureLoader.php
1.04
KB
-rw-r--r--
2018-11-29 14:48
DirectoryLoader.php
1.46
KB
-rw-r--r--
2018-11-29 14:48
GlobFileLoader.php
1.02
KB
-rw-r--r--
2018-11-29 14:48
ObjectRouteLoader.php
3.37
KB
-rw-r--r--
2018-11-29 14:48
PhpFileLoader.php
1.97
KB
-rw-r--r--
2018-11-29 14:48
XmlFileLoader.php
16.57
KB
-rw-r--r--
2018-11-29 14:48
YamlFileLoader.php
11.53
KB
-rw-r--r--
2018-11-29 14:48
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Routing\Loader; use Symfony\Component\Config\Loader\FileLoader; use Symfony\Component\Config\Resource\DirectoryResource; use Symfony\Component\Routing\RouteCollection; class DirectoryLoader extends FileLoader { /** * {@inheritdoc} */ public function load($file, $type = null) { $path = $this->locator->locate($file); $collection = new RouteCollection(); $collection->addResource(new DirectoryResource($path)); foreach (scandir($path) as $dir) { if ('.' !== $dir[0]) { $this->setCurrentDir($path); $subPath = $path.'/'.$dir; $subType = null; if (is_dir($subPath)) { $subPath .= '/'; $subType = 'directory'; } $subCollection = $this->import($subPath, $subType, false, $path); $collection->addCollection($subCollection); } } return $collection; } /** * {@inheritdoc} */ public function supports($resource, $type = null) { // only when type is forced to directory, not to conflict with AnnotationLoader return 'directory' === $type; } }