From 048ba672074b76ff49e5a57443c2f38ea3016895 Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Thu, 19 May 2016 14:38:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=86=E9=A1=B5=E7=B1=BB?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=8E=B7=E5=8F=96=E5=BD=93=E5=89=8Durl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Paginator.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/think/Paginator.php b/library/think/Paginator.php index e891798f..e7f2372f 100644 --- a/library/think/Paginator.php +++ b/library/think/Paginator.php @@ -137,8 +137,7 @@ abstract class Paginator */ public static function getCurrentPath() { - //TODO 待Request类完善后这里再完善 - return '/' . $_SERVER['PATH_INFO']; + return Request::instance()->url(); } public function total()