196d3cf283
- move the directory content to content-sample - remove CONTENT_DIR as a define on index.php - create config value "content_dir" and replace all CONTENT_DIR by it's correspondent $config['content_dir'] - add the content_dir config on config.php.template
12 lines
359 B
PHP
12 lines
359 B
PHP
<?php
|
|
|
|
define('ROOT_DIR', realpath(dirname(__FILE__)) .'/');
|
|
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();
|