You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pico/index.php

25 lines
481 B

<?php
$parent = '..' . DIRECTORY_SEPARATOR;
set_include_path(
get_include_path() . PATH_SEPARATOR .
$parent . $parent . $parent . PATH_SEPARATOR .
'.'
);
// load dependencies
require_once('vendor/autoload.php');
// instance Pico
$pico = new Pico(
__DIR__, // root dir
'config/', // config dir
'plugins/', // plugins dir
'themes/' // themes dir
);
// override configuration?
// $pico->setConfig(array());
// run application
echo $pico->run();