2015-11-27 19:36:40 +00:00
|
|
|
<?php // @codingStandardsIgnoreFile
|
2015-11-27 18:56:28 +00:00
|
|
|
|
|
|
|
// check PHP version
|
2016-01-25 18:32:17 +00:00
|
|
|
if (PHP_VERSION_ID < 50306) {
|
2015-11-27 18:56:28 +00:00
|
|
|
die('Pico requires PHP 5.3.6 or above to run');
|
|
|
|
}
|
|
|
|
|
|
|
|
// load dependencies
|
|
|
|
require_once(__DIR__ . '/vendor/autoload.php');
|
|
|
|
|
|
|
|
// instance Pico
|
|
|
|
$pico = new Pico(
|
|
|
|
__DIR__, // root dir
|
|
|
|
'config/', // config dir
|
|
|
|
'plugins/', // plugins dir
|
|
|
|
'themes/' // themes dir
|
|
|
|
);
|
|
|
|
|
|
|
|
// run application
|
|
|
|
echo $pico->run();
|