summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2017-09-02 20:30:30 +0100
committerFbenas <philbeansburton@gmail.com>2017-09-02 20:30:30 +0100
commit7d2128f364c0e81a15653db2508d3e09b262eca1 (patch)
tree654ed84f42059aa4fd85e93c96db2824da7f06cb /scripts
parente237e378a0bfc6e906d7cf682fc7f7fd4af74528 (diff)
Refactor site:create command to allow creation of extra tasks easier
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/run.php b/scripts/run.php
index 2995f8a..fc7de16 100644
--- a/scripts/run.php
+++ b/scripts/run.php
@@ -18,9 +18,8 @@ try {
}
// Set up siteroot
-// TODO Don't rely on trailing slashes here
define('DIPPER_ROOT', realpath(dirname(__FILE__) . "/../") . '/');
define('SITES_ROOT', $config['SITES_ROOT']);
-define('CONFIG_ROOT', $config['SITES_ROOT']);
+define('CONFIG_ROOT', $config['CONFIG_ROOT']);
new App\Script\Console;