摘要:
在src/Illuminate/Database/Connection.php里打印SQL默认是关闭的,见https://github.com/laravel/framework/commit/e0abfe5c49d225567cb4dfd56df9ef05cc297448首先需要导入DB类(use... 阅读全文
摘要:
1,首先,让apache服务器支持rewrite 可以在apache配置文件中定义rewrite规则,是全局的,无论哪个应用都实用//httpd.configListen 80RewriteEngine on ---将rewrite开启LoadModule rewrite_module modul... 阅读全文