summaryrefslogtreecommitdiffstats
path: root/library/vendor/iplx/Loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/vendor/iplx/Loader.php')
-rw-r--r--library/vendor/iplx/Loader.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/library/vendor/iplx/Loader.php b/library/vendor/iplx/Loader.php
deleted file mode 100644
index 5a6c9c0..0000000
--- a/library/vendor/iplx/Loader.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-spl_autoload_register(function ($class) {
- $prefix = 'iplx\\';
- $len = strlen($prefix);
-
- $baseDir = __DIR__ . '/';
-
- if (strncmp($prefix, $class, $len) !== 0) {
- return;
- }
-
- $relative = substr($class, $len);
-
- $file = $baseDir . str_replace('\\', '/', $relative) . '.php';
-
- if (file_exists($file)) {
- require $file;
- }
-});