Pico/index.php
theshka c4af6eef9d Define missing content directory
Using the editor plugin after this file was updated causes errors. Fixed by re-defining the content directory.
2015-04-22 15:04:54 -04:00

14 lines
411 B
PHP

<?php
define('ROOT_DIR', realpath(dirname(__FILE__)) .'/');
define('CONTENT_DIR', ROOT_DIR .'content-sample/');
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();