* [New] added PHP_VERSION check to Pico::run()
This commit is contained in:
parent
38d2dd2e20
commit
1fae7ab3df
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user