From a0cb6687a67b3bea170e0956d1b52339e5381b1f Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 17 Jul 2016 22:44:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=83=8C=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Captcha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Captcha.php b/src/Captcha.php index a09a86c..1c8a92c 100644 --- a/src/Captcha.php +++ b/src/Captcha.php @@ -290,7 +290,7 @@ class Captcha */ private function _background() { - $path = dirname(__FILE__) . '/verify/bgs/'; + $path = __DIR__ . '/../assets/bgs/'; $dir = dir($path); $bgs = [];