16 lines
512 B
PHP
16 lines
512 B
PHP
<?php
|
|
|
|
// Dynamic filter
|
|
use KupShop\KupShopBundle\Util\Compat\SymfonyBridge;
|
|
|
|
$attributes = [
|
|
'id_section' => getVal('IDcat', null, 0),
|
|
'id_producer' => getVal('IDpd'),
|
|
'campaign' => getVal('campaign', null, ''),
|
|
];
|
|
if (isset($_GET['watchdog'])) {
|
|
SymfonyBridge::handleController('KupShop\CatalogBundle\Controller\CatalogController::watchdogAction', $attributes);
|
|
} else {
|
|
SymfonyBridge::handleController('KupShop\CatalogBundle\Controller\CatalogController::campaignAction', $attributes);
|
|
}
|