Repository navigation
Internals Awt_data Config Awt_config
Framework Internals · Subsystem overview · Developer guide
Source: awt_data/config/awt_config.php · Snapshot 8411f4287706.
Bootstrap scripts wire globals, constants and collaborators in a defined order. These files are executable entry points rather than a reusable class API.
The script below is executed by its caller. Constants, registered callbacks, global assignments, guards, included files and their order are preserved here. Unlike class methods, entry-point execution can start the CLI loop, route a request, emit output, or terminate the process.
<?php
const AWT_VERSION = "27.0.0";
const PACKAGE_MAX_LOAD_TRY = 5;
const DEBUG = true;
const SHOW_SQL_CONNECTIONS_CALLS = false;
/**
* # WARNING: Setting this to TRUE enables remote package installations.
*
* This setting is intended for development purposes only.
* It MUST remain FALSE in production environments to ensure security.
*
* In order for this to work please also set `DEBUG = true;`.
*/
const REMOTE_INSTALL_FOR_DEVS = false;
const DEV_SECRET = "12345678";
ini_set("post_max_size", "512M");
ini_set("upload_max_filesize", "512M");
ini_set("max_execution_time", "300");
ini_set("max_input_time", "300");
if (DEBUG) {
ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_DEPRECATED ^ E_WARNING ^ E_NOTICE);
} else {
error_reporting(0);
ini_set('display_errors', 0);
}AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes