mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-29 18:39:16 +08:00
基础信息驱动更新
This commit is contained in:
parent
10a50b0b1e
commit
a67724048c
@ -11,7 +11,7 @@
|
||||
namespace base;
|
||||
|
||||
/**
|
||||
* 行为信息驱动
|
||||
* 基础信息驱动
|
||||
* @author Devil
|
||||
* @blog http://gong.gg/
|
||||
* @version 0.0.1
|
||||
@ -237,7 +237,7 @@ class Behavior
|
||||
*/
|
||||
public function GetServerIP()
|
||||
{
|
||||
return empty($_SERVER['SERVER_ADDR']) ? '' : $_SERVER['SERVER_ADDR'];
|
||||
return __MY_ADDR__;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user