Config.php [exclusive] Info
Your config.php (or at least the version in your repository) must never contain production secrets.
// Define the environment: 'development' or 'production' define('ENVIRONMENT', 'development'); if (ENVIRONMENT == 'development') ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); else ini_set('display_errors', 0); error_reporting(0); Use code with caution. 2. Database Credentials config.php
Set your permissions using your hosting control panel or via SSH using chmod: Your config
/app /controllers /models /views /config config.php .env (not in git) /public index.php if (ENVIRONMENT == 'development') ini_set('display_errors'