feat: add Nabeh payment verification proxy and update UI components

This commit is contained in:
Hamza-Ayed
2026-07-11 22:14:37 +03:00
parent de761c1d97
commit 83f5bf516b
5 changed files with 74 additions and 10 deletions
+7
View File
@@ -23,6 +23,13 @@ ini_set('log_errors', '1');
$logPath = getenv('ERROR_LOG_PATH') ?: (__DIR__ . '/../logs/php_errors.log');
ini_set('error_log', $logPath);
// تعريف الدولة أو البيئة الحالية للسيرفر (مثلاً: syria, egypt, jordan)
// تُستخدم لتوجيه الروابط أو لتحديد السيرفر
$globalCountry = getenv('GLOBAL_COUNTRY') ?: 'syria';
if (!defined('GLOBAL_COUNTRY')) {
define('GLOBAL_COUNTRY', $globalCountry);
}
header_remove('X-Powered-By');
header('Content-Type: application/json; charset=UTF-8');
header('X-Content-Type-Options: nosniff');