Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Symfony /
Component /
Finder /
Delete
Unzip
Name
Size
Permission
Date
Action
Adapter
[ DIR ]
drwxr-xr-x
2022-03-15 18:01
Comparator
[ DIR ]
drwxr-xr-x
2022-03-15 18:01
Exception
[ DIR ]
drwxr-xr-x
2022-03-15 18:01
Expression
[ DIR ]
drwxr-xr-x
2022-03-15 18:01
Iterator
[ DIR ]
drwxr-xr-x
2022-03-15 18:01
Shell
[ DIR ]
drwxr-xr-x
2022-03-15 18:01
Finder.php
25.19
KB
-rw-r--r--
2016-06-06 18:05
Glob.php
3.21
KB
-rw-r--r--
2016-06-06 18:05
SplFileInfo.php
1.86
KB
-rw-r--r--
2016-06-06 18:05
autoload.php
4.45
KB
-rw-r--r--
2019-11-13 20:36
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\Finder; /** * Extends \SplFileInfo to support relative paths. * * @author Fabien Potencier <fabien@symfony.com> */ class SplFileInfo extends \SplFileInfo { private $relativePath; private $relativePathname; /** * Constructor. * * @param string $file The file name * @param string $relativePath The relative path * @param string $relativePathname The relative path name */ public function __construct($file, $relativePath, $relativePathname) { parent::__construct($file); $this->relativePath = $relativePath; $this->relativePathname = $relativePathname; } /** * Returns the relative path. * * This path does not contain the file name. * * @return string the relative path */ public function getRelativePath() { return $this->relativePath; } /** * Returns the relative path name. * * This path contains the file name. * * @return string the relative path name */ public function getRelativePathname() { return $this->relativePathname; } /** * Returns the contents of the file. * * @return string the contents of the file * * @throws \RuntimeException */ public function getContents() { $level = error_reporting(0); $content = file_get_contents($this->getPathname()); error_reporting($level); if (false === $content) { $error = error_get_last(); throw new \RuntimeException($error['message']); } return $content; } }