|
|
@@ -14,6 +14,13 @@ The application loads F3 globals from a runtime configuration file and provides
|
|
|
| `cfg/config.bin` | `base64(gzcompress(ini-text))` | Runtime configuration loaded by `index.php`. |
|
|
|
| `cfg/config.bin.old` | Previous `config.bin` bytes | Single backup created before an administrator save. |
|
|
|
|
|
|
+## Runtime Globals
|
|
|
+
|
|
|
+| Globals | Purpose |
|
|
|
+|---|---|
|
|
|
+| `AUTOLOAD`, `CACHE`, `UI`, `DEBUG`, `ENCODING`, `HIGHLIGHT`, `JAR.expire` | Fat-Free Framework runtime settings. |
|
|
|
+| `DSN`, `dbuser`, `dbpass` | MySQL connection settings consumed by `Core\System\System`. |
|
|
|
+
|
|
|
## Business Rules
|
|
|
- Startup must validate PHP 8.5+, require `cfg/config.bin`, decode it to a temporary file, apply F3 configuration, then remove the temporary file.
|
|
|
- `Encrypt()`/`Decrypt()` provide reversible base64+gzip encoding, not secrecy. Treat every configuration artifact as sensitive because it can contain credentials.
|