| 12345678910111213141516171819 |
- <?php
- // PackIt – database configuration (SAMPLE)
- //
- // Copy this file to config.php and fill in your own credentials:
- // cp config.sample.php config.php
- //
- // config.php is git-ignored and excluded from deploy.sh. On a real server,
- // place it ONE directory ABOVE the web root (e.g. /var/www/config.php) so it
- // is never served directly; .htaccess denies it as a second line of defence.
- // 'production' (default) hides all error detail from visitors and writes it to
- // the PHP error log instead. Set to 'development' for on-screen stack traces.
- $appEnv = 'production';
- $host = 'localhost';
- $dbname = 'packit';
- $username = 'packit';
- $password = 'change-me';
- $charset = 'utf8mb4';
|