Update: 2026-06-11 13:47:39
This commit is contained in:
@@ -54,7 +54,7 @@ try {
|
||||
}
|
||||
|
||||
// 5. التحقق من PHP error log الأخير
|
||||
$logPath = '/home/intaleq-api/logs/php_errors.log';
|
||||
$logPath = '/home/siro-api/logs/php_errors.log';
|
||||
if (file_exists($logPath)) {
|
||||
$lines = file($logPath);
|
||||
$checks['last_5_errors'] = array_map('trim', array_slice($lines, -5));
|
||||
|
||||
@@ -23,11 +23,11 @@ if ($admin->role !== 'admin' && $admin->role !== 'super_admin') {
|
||||
|
||||
try {
|
||||
// جلب المفتاح المشترك لسيرفر المحفظة
|
||||
$payKeyPath = '/home/intaleq-api/.secret_key_pay';
|
||||
$payKeyPath = '/home/siro-api/.secret_key_pay';
|
||||
$payKey = file_exists($payKeyPath) ? trim(file_get_contents($payKeyPath)) : getenv('SECRET_KEY_PAY');
|
||||
|
||||
if (empty($payKey)) {
|
||||
$payKey = trim(@file_get_contents('/home/intaleq-api/.secret_key'));
|
||||
$payKey = trim(@file_get_contents('/home/siro-api/.secret_key'));
|
||||
}
|
||||
|
||||
if (empty($payKey)) {
|
||||
|
||||
Reference in New Issue
Block a user