From 6feff40c38c707882f53fd8d8ce364db111d78f0 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 1 Feb 2018 09:56:53 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=AD=A3Linux?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=8A=A0=E8=BD=BD=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include.php b/include.php index c04f45e..b8f402c 100644 --- a/include.php +++ b/include.php @@ -14,7 +14,7 @@ // 动态注册SDK自动加载 spl_autoload_register(function ($classname) { - $filename = __DIR__ . DIRECTORY_SEPARATOR . str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $classname) . '.php'; + $filename = __DIR__ . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $classname) . '.php'; if (stripos($classname, 'WeChat') === 0 && file_exists($filename)) { include $filename; }