summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/index.php3
-rw-r--r--public/wp-config.php10
2 files changed, 6 insertions, 7 deletions
diff --git a/public/index.php b/public/index.php
index c2dcbbf..fb063c5 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,4 +1,3 @@
<?php
-define('WP_USE_THEMES', true);
-require(__DIR__ . '/wp/wp-blog-header.php');
+require __DIR__ . '/wp/index.php';
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';