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()
{
//TODO 待Request类完善后这里再完善
return '/' . $_SERVER['PATH_INFO'];
return Request::instance()->url();
}
public function total()