Update Saqel Platform: 2026-09-08 13:43:36

This commit is contained in:
Hamza-Ayed
2026-09-08 13:43:36 +03:00
parent 0f424062fe
commit bb37b31cab
76 changed files with 3617 additions and 3059 deletions
+4 -9
View File
@@ -57,15 +57,10 @@ try {
}
}
// Development fallback for required security keys if not set by environment
if (!getenv('ENCRYPTION_KEY')) {
putenv('ENCRYPTION_KEY=saqel_military_culture_sec_key_2026_aes256');
}
if (!getenv('HMAC_SALT')) {
putenv('HMAC_SALT=saqel_hmac_salt_jordan_2026');
}
if (!getenv('JWT_SECRET')) {
putenv('JWT_SECRET=saqel_jwt_secret_sovereign_token_2026');
foreach (['ENCRYPTION_KEY', 'HMAC_SALT', 'JWT_SECRET'] as $requiredSecret) {
if (!getenv($requiredSecret)) {
throw new \RuntimeException("Missing required security secret: {$requiredSecret}");
}
}
// 3. Configure Error Reporting based on environment