removed 'application' folder to have everything in the root directory
This commit is contained in:
1 parent
1569fd5488
commit
9642433363
284 files changed
+4
-50
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
if (!defined('cURL_PATH')) {
|
||||
define('cURL_PATH', __DIR__);
|
||||
}
|
||||
|
||||
spl_autoload_register(
|
||||
function ($className) {
|
||||
$classPath = str_replace('\\', DIRECTORY_SEPARATOR, $className);
|
||||
$filePath = cURL_PATH . DIRECTORY_SEPARATOR . $classPath . '.php';
|
||||
if (file_exists($filePath)) {
|
||||
require_once $filePath;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user