Speed up development with full-stack environments for every branch.

Learn More

How to create a blog in Pico CMS [PHP]

Forked from How to change theme in Pico CMS.

1029 Runs 3409 Views 627 Copies


gtsolutions 373

published 4 years ago


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(ROOT_DIR .'vendor/autoload.php');
require(LIB_DIR .'pico.php');
$pico = new Pico();
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).