摘要:
配置文件 \.env 开发模式 APP_DEBUG=true 线上模式 APP_DEBUG=false HTTP错误代码 public function error() { $error = true; if($error){ abort(503); } } 跳转到503页面 日志 LOG_CHAN 阅读全文
摘要:
Laravel为各种不同的缓存系统提供一致的API Laravel支持各种常见的后端缓存系统,如File Memcached和Redis 主要方法 put() add() forever() get() pull() forget() has() 使用方式 use Illuminate\Suppor 阅读全文