I am trying to change the project status from Kohana::DEVELOPMENT
to Kohana::PRODUCTION
I write in .htaccess the following
SetEnv KOHANA_ENV production
But as a result, when switching to a non-existing page, the Kohana error handler still displays
HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: media/xml/export/orders.xml SYSPATH/classes/kohana/request.php [ 1126 ] 1121 */ 1122 public function execute() 1123 { 1124 if ( ! $this->_route instanceof Route) 1125 { 1126 throw new HTTP_Exception_404('Unable to find a route to match the URI: :uri', array( 1127 ':uri' => $this->_uri, 1128 )); 1129 } 1130 1131 if ( ! $this->_client instanceof Request_Client) DOCROOT/index.php [ 109 ] » Kohana_Request->execute()