摘要: 恢复内容开始 名侦探系列之 50个高质量的PHP代码小技巧 (前篇) 1,使用绝对路径,方便代码的迁移: define('ROOT' , pathinfo(__FILE__, PATHINFO_DIRNAME)); require_once(ROOT . '../../lib/some_class. 阅读全文
posted @ 2018-07-25 12:09 古韵 阅读(162) 评论(0) 推荐(0)