Skip to content

Instantly share code, notes, and snippets.

@use
Last active August 29, 2015 14:20
Show Gist options
  • Save use/7976df8f7aef448efd36 to your computer and use it in GitHub Desktop.
Save use/7976df8f7aef448efd36 to your computer and use it in GitHub Desktop.
<?php
require_once __DIR__ . '/vendor/autoload.php';
$configuration = new Bolt\Configuration\Composer(__DIR__);
$configuration->setPath('cache', 'cache');
$configuration->setPath('config', 'app/config');
$configuration->setPath('database', 'app/database');
$configuration->setPath('files', 'content/files');
$configuration->setPath('web', 'content');
$app = new Bolt\Application(array('resources'=>$configuration));
<?php
require_once __DIR__ . '/../bootstrap.php';
$app->initialize();
$app->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment