Improved template handling with exceptions
The Page class is now responsible for executing the subpage template rather than the index file. Template processing has been improved with exceptions to catch 404s, or any other template exception, which will abort the current page and display an error document instead.
This commit is contained in:
@@ -42,6 +42,10 @@ class HandBrakeCluster_RequestParser {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function request_string() {
|
||||
return $this->request_string;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user