first commit
This commit is contained in:
15
web/category.php
Normal file
15
web/category.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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);
|
||||
}
|
||||
Reference in New Issue
Block a user