first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

16
web/watchdog.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
use KupShop\KupShopBundle\Util\Compat\SymfonyBridge;
use KupShop\WatchdogBundle\Controller\WatchdogController;
$action = getVal('acn', null, 'add');
$productId = getVal('IDp');
$variationId = getVal('IDv');
if ($action == 'add') {
SymfonyBridge::handleController(WatchdogController::class.'::addAction', ['id_product' => $productId, 'id_variation' => $variationId]);
} elseif ($action == 'delete') {
SymfonyBridge::handleController(WatchdogController::class.'::removeAction', ['id_product' => $productId, 'id_variation' => $variationId]);
} else {
redirection('NEXT');
}