48a1b00f87
Require once on core files, to stop redeclare when composer has already done so.
13 lines
404 B
PHP
13 lines
404 B
PHP
<?php
|
|
|
|
define('ROOT_DIR', realpath(dirname(__FILE__)) .'/');
|
|
define('CONTENT_DIR', ROOT_DIR .'content/');
|
|
define('CONTENT_EXT', '.md');
|
|
define('LIB_DIR', ROOT_DIR .'lib/');
|
|
define('PLUGINS_DIR', ROOT_DIR .'plugins/');
|
|
define('THEMES_DIR', ROOT_DIR .'themes/');
|
|
define('CACHE_DIR', LIB_DIR .'cache/');
|
|
|
|
require_once(ROOT_DIR .'vendor/autoload.php');
|
|
require_once(LIB_DIR .'pico.php');
|
|
$pico = new Pico();
|