This commit is contained in:
thinkphp
2016-05-19 15:16:17 +08:00

View File

@@ -137,8 +137,7 @@ abstract class Paginator
*/ */
public static function getCurrentPath() public static function getCurrentPath()
{ {
//TODO 待Request类完善后这里再完善 return Request::instance()->url();
return '/' . $_SERVER['PATH_INFO'];
} }
public function total() public function total()