13 lines
243 B
PHP
13 lines
243 B
PHP
<?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
|
|
]);
|