⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.63
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
gsm.com.ng
/
vendor
/
maxmind-db
/
reader
/
View File Name :
autoload.php
class. * * @param string $class * the name of the class to load */ function mmdb_autoload($class): void { /* * A project-specific mapping between the namespaces and where * they're located. By convention, we include the trailing * slashes. The one-element array here simply makes things easy * to extend in the future if (for example) the test classes * begin to use one another. */ $namespace_map = ['MaxMind\\Db\\' => __DIR__ . '/src/MaxMind/Db/']; foreach ($namespace_map as $prefix => $dir) { // First swap out the namespace prefix with a directory... $path = str_replace($prefix, $dir, $class); // replace the namespace separator with a directory separator... $path = str_replace('\\', '/', $path); // and finally, add the PHP file extension to the result. $path .= '.php'; // $path should now contain the path to a PHP file defining $class if (file_exists($path)) { include $path; } } } spl_autoload_register('mmdb_autoload');