/* /home/inqiet/web/inqiet.com/public_html/plugins/debug/plugin.php [line: 124 - 129] */
function ($sql, $params){
$debugSql = $db->debugSql($sql, $params);
$this->view->debug['data']['sql'][] = [$sql, $params + ['sql' => $debugSql]];
return [$sql, $params];
});
/* /home/inqiet/web/inqiet.com/public_html/plugins/debug/plugin.php [line: 167 - 180] */
function (){
$events = Event::getEvents();
array_walk_recursive($events, function (&$value, $key) {
if (is_object($value)) {
if ($value instanceof \Closure) {
$value = $this->closureDump($value);
}
}
});
$this->view->debug['data']['filters'] = $events;
$this->view->debug['data']['request'] = Routes::getUrlData();
});
/* /home/inqiet/web/inqiet.com/public_html/plugins/hide-ecommerce/plugin.php [line: 139 - 148] */
function ($template, $htmlFile, $tplFile, $vTpl, $view){
//remove ecommerce components from html
//if ($url = Routes::getUrlData()) {
//if (in_array($url['route'], $routes)) {
$vTpl->loadTemplateFile(__DIR__ . '/app/template/common.tpl');
//}
//}
return [$template, $htmlFile, $tplFile, $vTpl, $view];
});
/* /home/inqiet/web/inqiet.com/public_html/plugins/hide-ecommerce/plugin.php [line: 115 - 121] */
function ($routes){
foreach ($ecommerceRoutes as $route) {
unset($routes[$route]);
}
return [$routes];
});