Framework Docs Configuration

Configuration

All configuration lives in the config/ directory as plain PHP files that define constants. No YAML, no environment files — just constants loaded once during bootstrap and available globally throughout the application.

Config Files

File Purpose
config/conf.php install key, Database driver, host, name, user, password. This file is generated during installation process.

conf.php

PHP
define('INSTALL_KEY', 'your-unique-install-key');
define('DEBUG',       false);   // true in development
define('DB_SERVER',   'localhost');
define('DB_DATABASE', 'your_database');
define('DB_USER',     'db_user');
define('DB_PASS',     'db_password');

Debug Mode

Set DEBUG to true during development to enable:

  • The visual debug panel (SQL queries, params, errors, timing)
  • Detailed exception stack traces instead of generic error pages
  • 404 pages that show the invalid slug/id that was requested

Always set DEBUG to false in production.