mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
Update include.php
This commit is contained in:
parent
ef02366345
commit
4f02179b04
@ -17,8 +17,8 @@ spl_autoload_register(function ($classname) {
|
|||||||
if (file_exists($filename)) {
|
if (file_exists($filename)) {
|
||||||
if (stripos($classname, 'WeChat') === 0) include $filename;
|
if (stripos($classname, 'WeChat') === 0) include $filename;
|
||||||
elseif (stripos($classname, 'WeMini') === 0) include $filename;
|
elseif (stripos($classname, 'WeMini') === 0) include $filename;
|
||||||
elseif (stripos($classname, 'WePay') === 0) include $filename;
|
|
||||||
elseif (stripos($classname, 'AliPay') === 0) include $filename;
|
elseif (stripos($classname, 'AliPay') === 0) include $filename;
|
||||||
|
elseif (stripos($classname, 'WePay') === 0) include $filename;
|
||||||
elseif ($classname === 'We') include $filename;
|
elseif ($classname === 'We') include $filename;
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user