File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ using Slim and has nice features like SASS-compiling, Twig etc.
3939
4040## Requirements
4141
42- - PHP 5.3.0+
42+ - PHP 5.3.0+, works fine with current stable versions PHP 5.6 and 7.0
4343- MySQL
4444- mod_rewrite activated (tutorials below, but there's also [ TINY] ( https://github.com/panique/tiny ) , a mod_rewrite-less
4545version of MINI)
@@ -135,6 +135,13 @@ echo Helper::debugPDO($sql, $parameters);
135135$query->execute($parameters);
136136```
137137
138+ ## Why has the * Error* class been renamed to * Problem* ?
139+
140+ The project was written in PHP5 times, but with the release of PHP7 it's not possible anymore to name a class
141+ "Error" as PHP itself has a internal Error class now. Renaming was the most simple solution, compared to other
142+ options like "ErrorController" etc. which would add new problems like uppercase filenames etc. (which will not
143+ work properly on some setups).
144+
138145## License
139146
140147This project is licensed under the MIT License.
@@ -258,8 +265,11 @@ Please commit into the develop branch (which holds the in-development version),
258265
259266## Changelog
260267
261- ** February 2015**
268+ ** August 2016**
269+ - [ codebicycle/panique] renamed Error class to Problem to make it PHP7 compatible #209
270+ - [ ynohtna92/panique] URL protocol is now protocol-independent #208
262271
272+ ** February 2015**
263273- [ jeroenseegers] nginx setup configuration
264274
265275** December 2014**
You can’t perform that action at this time.
0 commit comments