「cakephp3で公開設定」の編集履歴(バックアップ)一覧に戻る

cakephp3で公開設定 - (2016/10/17 (月) 11:04:38) のソース

cakePHP3で公開設定する方法。config\app.php

 <?php
 return [
     /**
      * Debug Level:
      *
      * Production Mode:
      * false: No error messages, errors, or warnings shown.
      *
      * Development Mode:
      * true: Errors and warnings shown.
      */
     'debug' => filter_var(env('DEBUG', true), FILTER_VALIDATE_BOOLEAN),
     //上のfalseをtrueにするとデバッグモード

以上。
その他にもエラーページの編集が必要です。