Skip to content

Commit f6f7f2a

Browse files
committed
add autoloader file
1 parent 2601b64 commit f6f7f2a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

autoload.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
$path = __DIR__ . DIRECTORY_SEPARATOR . 'src';
4+
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
5+
6+
spl_autoload_extensions('.php');
7+
spl_autoload_register();
8+
9+
require_once 'src/Qiniu/functions.php';

0 commit comments

Comments
 (0)