Fuel\Core\PhpErrorException [ Notice ]:
Undefined variable: view
68 } 69 70 if ( $lang == 'jp' ) { 71 $view->set_global('site_title', $data['product_name_jp']." | 総合食品商社 True World Japan | 世界の美味しい食品を日本へ 日本の美味しい食品 を世界へ", false); 72 } elseif ( $lang == 'en' ) { 73 $view->set_global('site_title', $data['product_name_en']." | True World Japan General Foods Trading Company", false); 74 } 75 $view->set_global('page_category', 'product', false); 76// $view->set_global('banners', $this->banners, false); 77 $view->set_global('product', $data, false); 78 $view->set_global('lang', $this->lang, false);
104 include COREPATH.'classes/error.php'; 105 class_alias('\Fuel\Core\Error', 'Error'); 106 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 107 } 108 109 return \Error::error_handler($severity, $message, $filepath, $line); 110}); 111 112function setup_autoloader() 113{ 114 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
68 } 69 70 if ( $lang == 'jp' ) { 71 $view->set_global('site_title', $data['product_name_jp']." | 総合食品商社 True World Japan | 世界の美味しい食品を日本へ 日本の美味しい食品 を世界へ", false); 72 } elseif ( $lang == 'en' ) { 73 $view->set_global('site_title', $data['product_name_en']." | True World Japan General Foods Trading Company", false); 74 } 75 $view->set_global('page_category', 'product', false); 76// $view->set_global('banners', $this->banners, false); 77 $view->set_global('product', $data, false); 78 $view->set_global('lang', $this->lang, false);
9 10 public function router($method, $params=null) { 11 if ($method != 'index') { 12 if ($method != 'tsukiji' && $method != 'frozen' && $method != 'grocery') { 13 $action = 'action_show'; 14 return $this->$action($method); 15 } 16 if ($method == 'tsukiji') { 17 $action = 'action_tsukiji'; 18 return $this->$action($params); 19 }
438 // fire any controller started events 439 \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 440 441 $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 442 443 $response = $action->invokeArgs($this->controller_instance, $this->method_params); 444 445 $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 446 447 // fire any controller finished events 448 \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished', '', 'none');
48require APPPATH.'bootstrap.php'; 49 50// Generate the request, execute it and send the output. 51try 52{ 53 $response = Request::forge()->execute()->response(); 54} 55catch (HttpNotFoundException $e) 56{ 57 \Request::reset_request(true); 58