mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-04 20:19:53 +08:00
use relative dir
This commit is contained in:
parent
bbb1df430a
commit
8bd6af9030
1 changed files with 3 additions and 3 deletions
6
api.php
6
api.php
|
@ -8,9 +8,9 @@
|
|||
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
*/
|
||||
|
||||
require_once($ABSPATH . 'wp-config.php');
|
||||
require_once($ABSPATH . 'wp-includes/option.php');
|
||||
require_once($ABSPATH . 'wp-includes/capabilities.php');
|
||||
require_once('../../../wp-config.php');
|
||||
require_once('../../../wp-includes/option.php');
|
||||
require_once('../../../wp-includes/capabilities.php');
|
||||
|
||||
header('Content-Type:application/json; charset=utf-8');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue