砍敺 IT_man 2017-7-28 22:36 蝺刻摩 ) v" D( ]' E' X4 C' W
+ X7 S8 o( }6 O/ Z5 N) l M
蝺刻摩蝡暺頝桅銝wp-config.php瑼獢,曉
. H! s6 F" z; J7 m2 I4 j
9 H* C+ f3 M/ Z' \7 Rrequire_once(ABSPATH . 'wp-settings.php');* L( v/ V8 e, s0 V2 e
0 J: t+ o7 w5 w
銝祆臭潭敺銝銵
& Y9 U4 e$ L7 _2 P; p* X1 x! u8 w' u典W銝隞乩隞蝣:- v8 Y6 a% ]( w" C l
6 V. Z* m+ X. o# J3 t8 P
- $yourhome = 'http://'.$_SERVER['HTTP_HOST']; * q$ O# \9 I& H% d# ]; U" }
- $yoursiteurl = 'http://'.$_SERVER['HTTP_HOST'];
$ _6 T; I5 e* E% {7 l9 d - define('WP_HOME', $yourhome);
' N, X! W" c5 ^3 h% t1 X - define('WP_SITEURL', $yoursiteurl);
銴鋆賭誨蝣
1 |8 i0 E- E( kPHP銝剔$_SERVER['HTTP_HOST']雿冽舐脣靘皞
# Q2 ?2 h; h" v- _璅嚗撠梯賣寞靘皞 WP_HOME WP_SITEURL 拙撣豢貉釵潘撖衣鋒ordPress憭蝬摰
0 I* l6 j: p, M% |" t
# ~1 b5 _6 T: M+ R I
F2 U- B5 S1 q
2 t; i: M" N' j0 g! I |
|