(2) Adding the following 2 lines will help you debug errors that are not syntax errors: error_reporting(-1); ini_set('display_errors', 'On');. ( ... ... <看更多>
php ) and can be modified there to determine what environment to show. Note. The Debug Toolbar is not displayed when your baseURL setting (in app/Config/App.php ... ... <看更多>
PHP constants don't have the leading $ . Strictly, this isn't WordPress, but since there isn't a Core is_debug() function that I am aware of, what you want ... ... <看更多>