summaryrefslogtreecommitdiff
path: root/scripts/run.php
blob: 0ba999ae0b4ca5c3c0aa2a71bc2f6bdad2330c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

ini_set("display_errors", 1);
ini_set("display_startup_errors", 1);
error_reporting(E_ALL);

// Pull in bootstrap
require(realpath(dirname(__FILE__) . "/../bootstrap.php"));

// Set up siteroot
// TODO Don't rely on trailing slashes here
define('DIPPER_ROOT', realpath(dirname(__FILE__) . "/../") . '/');
define('SITES_ROOT', '/home/phil/sites/');
define('CONFIG_ROOT', '/home/phil/sites/');

new App\Script\Console;