Update Saqel Platform: 2026-09-08 13:43:36
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user