summaryrefslogtreecommitdiff
path: root/vendor/gregwar/captcha/autoload.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2017-12-15 13:27:25 -0800
committerFrédéric Guillot <fred@kanboard.net>2017-12-15 13:27:25 -0800
commit8e6476b4028e44687e10bf7fb2617a2d2fff97d2 (patch)
treef010db02cb0ff016bdc806a0a87e1a4b21946f0a /vendor/gregwar/captcha/autoload.php
parenta93b8e10f5954be0853eec693c13e84c4bd9e6f2 (diff)
Update composer dependencies
Diffstat (limited to 'vendor/gregwar/captcha/autoload.php')
-rw-r--r--vendor/gregwar/captcha/autoload.php16
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);
- }
- }
-});