summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/index.php4
-rw-r--r--public/wp-config.php11
2 files changed, 15 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
new file mode 100644
index 0000000..c2dcbbf
--- /dev/null
+++ b/public/index.php
@@ -0,0 +1,4 @@
+<?php
+
+define('WP_USE_THEMES', true);
+require(__DIR__ . '/wp/wp-blog-header.php');
diff --git a/public/wp-config.php b/public/wp-config.php
new file mode 100644
index 0000000..8503bb3
--- /dev/null
+++ b/public/wp-config.php
@@ -0,0 +1,11 @@
+<?php
+
+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';