maximebf / atomik

Micro framework for PHP 5.3+ [UNMAINTAINED]
MIT License
46 stars 18 forks source link

Fatal error: Constructor Atomik\Flash::flash() cannot be static #24

Closed code-trotter closed 10 years ago

code-trotter commented 10 years ago

Just for information, When I unzip the latest Atomik package (3.1.4) I saw this error : Fatal error: Constructor Atomik\Flash::flash() cannot be static in /var/www/{my_site_name}/vendor/atomik/atomik/src/plugins/Flash.php on line 134

I'm using php 5.3.2 and I fix this error by adding this : public function __construct(){ return; } at the beginning of the Flash class.

Enoy, Kyrd

maximebf commented 10 years ago

Good spot. This bug appears only on PHP<5.3.3 :( Will add the constructor

maximebf commented 10 years ago

fixed