173. {
174. if( $show404 = Config::get('Routing', 'show404') )
175. {
176. Helper::report('InvalidRequest', "Invalid request made to {$controller}/{$function} page!");
177.
178. Response::redirect($show404);
179. }
180. else
181. {
182. throw new Exception(self::getLang('invalidOpenFunction'));
183. }
184. }
185.
186. /**
187. * Protected call controller
188. *
189. * [added]5.7.7
190. */
191. protected static function callController($page, $function, $parameters)
192. {