砍敺 IT_man 2017-7-28 22:36 蝺刻摩
5 J4 p/ D9 U" n" ~" I. I: _: s; H" L" |, j1 U
蝺刻摩蝡暺頝桅銝wp-config.php瑼獢,曉! Q/ z0 i8 ^# X4 {+ `
9 }# ^3 w, A) c4 z/ G3 frequire_once(ABSPATH . 'wp-settings.php');6 G* ?4 u7 a; ?5 z4 X
3 X+ o0 w3 g2 a# |8 C, x7 H0 Z) d- s
銝祆臭潭敺銝銵
% k# f5 M$ K* e; _9 y典W銝隞乩隞蝣:* b$ i. Q% s" `7 @$ A5 v* E
( K# ^0 e$ A4 ]5 ^* V0 P
- $yourhome = 'http://'.$_SERVER['HTTP_HOST'];
; U L: J; G3 ?% X1 T7 ?6 D4 T - $yoursiteurl = 'http://'.$_SERVER['HTTP_HOST'];
; ~! q$ o1 ^# }8 V0 ] g) N. X! @ - define('WP_HOME', $yourhome);
( ~/ S% u S1 c; E2 B3 p, ] - define('WP_SITEURL', $yoursiteurl);
銴鋆賭誨蝣 . P2 O7 T6 P# ?) x7 m+ Z6 \
PHP銝剔$_SERVER['HTTP_HOST']雿冽舐脣靘皞
( r2 F p0 Q: O! T+ H! W" T' Q璅嚗撠梯賣寞靘皞 WP_HOME WP_SITEURL 拙撣豢貉釵潘撖衣鋒ordPress憭蝬摰
4 E& @" A1 E8 P U7 @- k# H! q4 J0 } W8 }) q: ]
* @* \( i) R% @0 r( N1 Z5 y1 \( Z7 l4 _& u4 y
|
|