summaryrefslogtreecommitdiff
path: root/scripts/test.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2017-08-20 04:18:13 +0100
committerFbenas <philbeansburton@gmail.com>2017-08-20 04:18:13 +0100
commit0ed82a2c6ffd8e981d9dd388306379941ecb5720 (patch)
tree52c7d66149a93c7d4d8038d356bb0107bad09766 /scripts/test.php
parent048634fd8a65d37f21bcb3a34161f74be6aef95d (diff)
WIP rejigging stuff
Diffstat (limited to 'scripts/test.php')
-rw-r--r--scripts/test.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/test.php b/scripts/test.php
new file mode 100644
index 0000000..83d8c5a
--- /dev/null
+++ b/scripts/test.php
@@ -0,0 +1,13 @@
+<?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
+define('DIPPER_ROOT', realpath(dirname(__FILE__) . "/../"));
+
+new App\Script\Console;