tp5自定义扩展类的使用extend

1.在入口index.php定义目录

define('EXTEND_PATH', __DIR__ .'/../extend/');

2.在使用页引用

use libPage;

3.初始化

$page = new Page($total,$listRows);
原文地址:https://www.cnblogs.com/jiqing9006/p/7615792.html