first commit
This commit is contained in:
27
plugins/stGroupPricePlugin/config/config.php
Normal file
27
plugins/stGroupPricePlugin/config/config.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/stGroupPricePlugin
|
||||
*
|
||||
*
|
||||
* @package stGroupPricePlugin
|
||||
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
|
||||
*/
|
||||
|
||||
/**
|
||||
* Włączanie modułów
|
||||
*/
|
||||
stPluginHelper::addEnableModule('stGroupPriceBackend', 'backend');
|
||||
|
||||
/**
|
||||
* Routingi
|
||||
*/
|
||||
if (SF_APP == 'backend')
|
||||
{
|
||||
stPluginHelper::addRouting('stGroupPricePlugin', '/group-price/:action/*', 'stGroupPriceBackend', 'list', 'backend');
|
||||
|
||||
$dispatcher->connect('stAdminGenerator.generateStProduct', array('stGroupPricePluginListener', 'generateStProduct'));
|
||||
|
||||
stSocketView::addComponent('stGroupPriceBackend.configCustom.Content','stGroupPriceBackend','configContent');
|
||||
|
||||
stLicenseTypeHelper::addCommercialModule('stGroupPricePlugin');
|
||||
}
|
||||
Reference in New Issue
Block a user