aboutsummaryrefslogtreecommitdiff
path: root/locopy/wp-settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'locopy/wp-settings.php')
-rw-r--r--locopy/wp-settings.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/locopy/wp-settings.php b/locopy/wp-settings.php
new file mode 100644
index 0000000..42aec0e
--- /dev/null
+++ b/locopy/wp-settings.php
@@ -0,0 +1,12 @@
+<?php
+define('ABSPATH', __DIR__ . '/');
+
+require_once 'wp-config.php';
+
+echo json_encode([
+ 'DB_NAME' => DB_NAME,
+ 'DB_USER' => DB_USER,
+ 'DB_PASSWORD' => DB_PASSWORD,
+ 'DB_HOST' => DB_HOST,
+ 'table_prefix' => $table_prefix
+]);