- Correct exit code for require errors in CLI mode. It was 0 even in case of error. - Solved handling fatals and displaying custom error template w/o output buffering. - If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette). - Added ErrorException to store/display type of the error and user-friendly messages. - Fatals are still logged in PHP log. - Turned off native display_errors since we're now catching all errors. - Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory. - Properly handled errors in __toString (exception can't be thrown in this case). - In the YII_DEBUG===false mode it's bad to display exception name even in page title. - In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Action.php | Loading commit data... | |
| ActionEvent.php | Loading commit data... | |
| Application.php | Loading commit data... | |
| Behavior.php | Loading commit data... | |
| Component.php | Loading commit data... | |
| Controller.php | Loading commit data... | |
| Dictionary.php | Loading commit data... | |
| DictionaryIterator.php | Loading commit data... | |
| ErrorException.php | Loading commit data... | |
| ErrorHandler.php | Loading commit data... | |
| Event.php | Loading commit data... | |
| Exception.php | Loading commit data... | |
| HttpException.php | Loading commit data... | |
| InlineAction.php | Loading commit data... | |
| InvalidCallException.php | Loading commit data... | |
| InvalidConfigException.php | Loading commit data... | |
| InvalidRequestException.php | Loading commit data... | |
| InvalidRouteException.php | Loading commit data... | |
| Model.php | Loading commit data... | |
| ModelEvent.php | Loading commit data... | |
| Module.php | Loading commit data... | |
| NotSupportedException.php | Loading commit data... | |
| Object.php | Loading commit data... | |
| Request.php | Loading commit data... | |
| Response.php | Loading commit data... | |
| SecurityManager.php | Loading commit data... | |
| Theme.php | Loading commit data... | |
| UnknownMethodException.php | Loading commit data... | |
| UnknownPropertyException.php | Loading commit data... | |
| UserException.php | Loading commit data... | |
| Vector.php | Loading commit data... | |
| VectorIterator.php | Loading commit data... | |
| View.php | Loading commit data... | |
| ViewRenderer.php | Loading commit data... | |
| Widget.php | Loading commit data... |