'[ConfigPEN]'.$e->getMessage() ]); exit; } else { echo '[ConfigPEN]'.$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. ['.$method.']'); } // Stop any execution. exit; } else { // Run. $obj->run(); }