// Merge -> revision 8342
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
*/
|
||||
|
||||
/* Getting cookie or logout */
|
||||
/*include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/../../init.php');
|
||||
include(dirname(__FILE__).'/blocklayered.php');*/
|
||||
include(dirname(__FILE__).'/blocklayered.php');
|
||||
|
||||
/* Clean categoryBox before use */
|
||||
if (isset($_GET['categoryBox']) AND is_array($_GET['categoryBox']))
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../init.php');
|
||||
include(dirname(__FILE__).'/blocklayered.php');
|
||||
|
||||
if (substr(Tools::encrypt('blocklayered/index'),0,10) != Tools::getValue('token') || !Module::isInstalled('blocklayered'))
|
||||
die;
|
||||
|
||||
if(Tools::getValue('full'))
|
||||
echo BlockLayered::fullindexProcess((int)Tools::getValue('cursor'), (int)Tools::getValue('ajax'), true);
|
||||
else
|
||||
echo BlockLayered::indexProcess((int)Tools::getValue('cursor'), (int)Tools::getValue('ajax'));
|
||||
Reference in New Issue
Block a user