'[Dashboards]'.$e->getMessage() ]); } else { echo '[Dashboards]'.$e->getMessage(); } // Stop this execution, but continue 'globally'. return; } // AJAX controller. if (is_ajax() === true) { $method = get_parameter('method'); if (method_exists($cs, $method) === true) { if ($cs->ajaxMethod($method) === true) { $cs->{$method}(); } else { $cs->error('Unavailable method.'); } } else { if ($cs->callWidgetMethod($method) === false) { $cs->error('Method not found. ['.$method.']'); } } } else { if ((bool) is_metaconsole() === true) { echo '
'; } // Run. $cs->run(); if ((bool) is_metaconsole() === true) { echo '
'; } }