feat: add Nabeh payment verification proxy and update UI components
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user