Last active
August 29, 2015 14:20
-
-
Save use/7976df8f7aef448efd36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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