Pico/index.php.dist
Daniel Rudolf 2eed14103a Add @codingStandardsIgnoreFile to index.php.dist
The comments of the "instance Pico" section violate PSR-2, but we want to keep them anyway
2015-11-27 20:36:40 +01:00

20 lines
429 B
Text

<?php // @codingStandardsIgnoreFile
// check PHP version
if (version_compare(PHP_VERSION, '5.3.6', '<')) {
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();