'[HelpFeedBack]'.$e->getMessage() ]); exit; } else { echo '[HelpFeedBack]'.$e->getMessage(); } // Stop this execution, but continue 'globally'. return; } // Ajax controller. if (is_ajax()) { $method = get_parameter('method', ''); if (method_exists($helpfeedback, $method) === true) { if ($helpfeedback->ajaxMethod($method) === true) { $helpfeedback->{$method}(); } else { $helpfeedback->error('Unavailable method.'); } } else { $helpfeedback->error('Method not found. ['.$method.']'); } // Stop any execution. exit; } else { // Run. $helpfeedback->run(); }