تحديث شامل للوحة التحكم وإضافة كافة الميزات للـ WebSidebar

This commit is contained in:
Hamza-Ayed
2026-07-26 03:22:47 +03:00
parent 5ec54c03f5
commit 2bacb1b9e1
16 changed files with 80 additions and 63 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
require_once __DIR__ . '/../../get_connect.php';
// السماح بالوصول من أي دومين (لأن الرابط سيفتح في متصفح العميل)
header("Access-Control-Allow-Origin: https://siromove.com");
header("Content-Type: application/json; charset=UTF-8");
$rideID = filter_input(INPUT_GET, 'id', FILTER_SANITIZE_NUMBER_INT);
+2 -2
View File
@@ -13,8 +13,8 @@ while (ob_get_level()) {
// ابدأ مخزناً جديداً ونظيفاً لهذا الملف فقط
ob_start();
header("Access-Control-Allow-Origin: https://siromove.com");
header("Access-Control-Allow-Methods: GET");
header("Content-Type: application/json; charset=UTF-8");
function sendError($message, $code = 400, $extra = []) {