Update: 2026-06-11 13:47:39

This commit is contained in:
Hamza-Ayed
2026-06-11 13:47:40 +03:00
parent 977adfe99d
commit c5170a88d2
516 changed files with 3654 additions and 3321 deletions

View File

@@ -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)) {