Update include.php

This commit is contained in:
Anyon 2018-10-30 19:05:39 +08:00
parent ef02366345
commit 4f02179b04

View File

@ -17,8 +17,8 @@ spl_autoload_register(function ($classname) {
if (file_exists($filename)) {
if (stripos($classname, 'WeChat') === 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, 'WePay') === 0) include $filename;
elseif ($classname === 'We') include $filename;
}
});