From dd0e3cdbf2fed7924ca7287805f57f2aa4f298ca Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 25 Jul 2016 10:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Captcha.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Captcha.php b/src/Captcha.php index 59c36e7..09ad692 100644 --- a/src/Captcha.php +++ b/src/Captcha.php @@ -163,7 +163,7 @@ class Captcha $this->fontttf = $ttfPath . $this->fontttf; if ($this->useImgBg) { - $this->_background(); + $this->background(); } if ($this->useNoise) { @@ -288,7 +288,7 @@ class Captcha * 绘制背景图片 * 注:如果验证码输出图片比较大,将占用比较多的系统资源 */ - private function _background() + private function background() { $path = __DIR__ . '/../assets/bgs/'; $dir = dir($path);