imported mlocati/ip-lib version 1.14.0

This commit is contained in:
El RIDO
2021-05-22 09:21:01 +02:00
parent 194b27e685
commit 89f6f0051d
20 changed files with 3048 additions and 8 deletions

13
vendor/mlocati/ip-lib/ip-lib.php vendored Normal file
View File

@@ -0,0 +1,13 @@
<?php
spl_autoload_register(
function ($class) {
if (strpos($class, 'IPLib\\') !== 0) {
return;
}
$file = __DIR__ . DIRECTORY_SEPARATOR . 'src' . str_replace('\\', DIRECTORY_SEPARATOR, substr($class, strlen('IPLib'))) . '.php';
if (is_file($file)) {
require_once $file;
}
}
);