diff --git a/config/constants.php b/config/constants.php index bb38b90..0c27a37 100644 --- a/config/constants.php +++ b/config/constants.php @@ -48,7 +48,7 @@ define('EXPORT_BASE', '/home/data/export/'); // 檔案匯出根路徑 define('STATION_NAME', '未設定'); // 本場站名稱 define('STATION_NO', 54321); // 本場站編號 -define('STATION_IP', '192.168.10.201'); // 本場站IP +define('STATION_IP', $_SERVER['SERVER_NAME']); // 本場站IP define('STATION_URL', 'http://'.STATION_IP.'/'); // 本場站URL define('PHPLIBS_BASE', '/home/bigbang/libs/phplibs/'); // phplibs 根路徑