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 : 18.223.33.204
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
facade /
ignition /
src /
ErrorPage /
Delete
Unzip
Name
Size
Permission
Date
Action
ErrorPageHandler.php
2.11
KB
-rw-r--r--
2020-11-17 16:24
ErrorPageViewModel.php
5.02
KB
-rw-r--r--
2020-11-17 16:24
IgnitionWhoopsHandler.php
1.1
KB
-rw-r--r--
2020-11-17 16:24
Renderer.php
968
B
-rw-r--r--
2020-11-17 16:24
Save
Rename
<?php namespace Facade\Ignition\ErrorPage; use Exception; use Facade\Ignition\Exceptions\ViewException; class Renderer { /** @var string */ protected $viewPath; public function __construct(string $viewPath) { $this->viewPath = $this->formatPath($viewPath); } public function render(string $viewName, array $_data): string { ob_start(); $viewFile = "{$this->viewPath}/{$viewName}.php"; try { extract((array) $_data, EXTR_OVERWRITE); include $viewFile; } catch (Exception $exception) { $viewException = new ViewException($exception->getMessage()); $viewException->setView($viewFile); $viewException->setViewData($_data); throw $viewException; } return ob_get_clean(); } protected function formatPath(string $path): string { return preg_replace('/(?:\/)+$/u', '', $path).'/'; } }