* [New] added PHP_VERSION check to Pico::run()

This commit is contained in:
theshka 2015-11-27 12:27:45 -06:00
parent 38d2dd2e20
commit 1fae7ab3df

View file

@ -271,6 +271,11 @@ class Pico
*/
public function run()
{
// check PHP version
if (version_compare(PHP_VERSION, '5.3.6', '<')) {
die('Sorry, Pico requires PHP 5.3.6 or above to run!');
}
// lock Pico
$this->locked = true;