diff options
Diffstat (limited to 'vendor/gregwar/captcha/autoload.php')
-rw-r--r-- | vendor/gregwar/captcha/autoload.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/gregwar/captcha/autoload.php b/vendor/gregwar/captcha/autoload.php deleted file mode 100644 index 8b3fa392..00000000 --- a/vendor/gregwar/captcha/autoload.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -/** -* Registers an autoload for all the classes in Gregwar\Captcha -*/ -spl_autoload_register(function ($className) { - $namespace = 'Gregwar\\Captcha'; - - if (strpos($className, $namespace) === 0) { - $className = str_replace($namespace, '', $className); - $fileName = __DIR__ . '/' . str_replace('\\', '/', $className) . '.php'; - if (file_exists($fileName)) { - require($fileName); - } - } -}); |