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にするとデバッグモード

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

最終更新:2016年10月17日 11:04