summaryrefslogtreecommitdiff
path: root/public/wp-config.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-03-08 15:46:26 +0100
committerDaniel Weipert <code@drogueronin.de>2021-03-08 15:46:26 +0100
commit7055700be25bb9d03672350c6cd3880274e1ea8b (patch)
tree9973730a056fd347f4c846459eaf5b2b64fdd2e8 /public/wp-config.php
parentbe8749fdb920a50fa3fb585640c7e7f3c0b30361 (diff)
Fixes WP_CONTENT_URL define
Diffstat (limited to 'public/wp-config.php')
-rw-r--r--public/wp-config.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/public/wp-config.php b/public/wp-config.php
index 8503bb3..b5618b1 100644
--- a/public/wp-config.php
+++ b/public/wp-config.php
@@ -1,11 +1,11 @@
<?php
+require_once dirname(__DIR__) . '/vendor/autoload.php';
+require_once dirname(__DIR__) . '/wp-config.php';
+
+define('WP_CONTENT_DIR', __DIR__ . '/' . CONTENT_DIR);
+
if (! defined('ABSPATH')) {
define('ABSPATH', __DIR__ . '/wp/');
}
-
-define('WP_CONTENT_DIR', __DIR__ . '/wp-content');
-
-require_once dirname(__DIR__) . '/vendor/autoload.php';
-require_once dirname(__DIR__) . '/wp-config.php';
require_once ABSPATH . 'wp-settings.php';