Created
March 15, 2015 22:25
-
-
Save rossriley/61fbe845453257c3e39f to your computer and use it in GitHub Desktop.
Public / Private Split Bootstrap
This file contains 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 "../private/vendor/autoload.php"; | |
$configuration = new Bolt\Configuration\Composer(dirname(__DIR__)."/private"); | |
$configuration->setPath("web","../public"); | |
$configuration->setPath("files","../public/files"); | |
$configuration->setPath("themebase","../public/theme"); | |
$configuration->getVerifier()->removeCheck('apache'); | |
$configuration->verify(); | |
$app = new Bolt\Application(array('resources'=>$configuration)); | |
$app->initialize(); | |
$app->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment