Skip to content

Instantly share code, notes, and snippets.

@ashleyhindle
Created October 18, 2014 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashleyhindle/cb4f9d85958f1815f6f4 to your computer and use it in GitHub Desktop.
Save ashleyhindle/cb4f9d85958f1815f6f4 to your computer and use it in GitHub Desktop.
<?php
chdir('/home/ahindle/mycloud/bolt/');
use Bolt\Configuration\LowlevelException;
require_once 'app/lib.php';
require 'vendor/autoload.php';
$configuration = new Bolt\Configuration\Composer('/home/ahindle/mycloud/bolt/');
$configuration->setThemePath(["theme_path"=>"/public/theme", 'theme'=>'base-2014']);
$configuration->setPath("themebase","public/theme");
$app = new Bolt\Application(array('resources' => $configuration));
echo "OK VAR DUMPINg\n\n\n\n";
var_dump($app);
echo "\n\n\n\n ------------------------- \n\n\n\n";
$app->initialize();
var_dump($app);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment