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