Replace old structure with new structure

This commit is contained in:
MosLaptop\Not.Reda committed 2025-08-28 09:28:59 +02:00
1 parent ea58af4fcc
commit 69dd02eb91
28 files changed
+552 -62

No files matched your search

+3 -3
View File
@@ -17,10 +17,10 @@
$alias = false;
if (isset($endpoint[1])) {
if (preg_match('/\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b/', $endpoint2)) {
$id = $endpoint2;
if (preg_match('/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/', $endpoint[1])) {
$id = $endpoint[1];
} else {
$alias = $endpoint2;
$alias = $endpoint[1];
}
}