增加 系統參數檔--可設定網址變數...(此為檔案,無線上設定介面)
<?php
//統一參數定義檔 v20200316
//
//
define("web_appName","sandbox-mcart"); //應用程式英文名稱
define("web_appCName","雲服務"); //應用程式中文名稱
define("web_srvUrl","https://ezpos.info/sandbox-mcart/"); //網站主機位置,後面要帶 /
define("web_poweredbyUrl","https://ezpos.info/ezpos/index13.php?com_id=1910140001"); //開發團隊網址
define("web_poweredbyName","newpos"); //開發團隊名稱
//line api-data.line.me
define("line_webUrl","https://static.line-scdn.net/liff/edge/2.1/sdk.js"); //line使用的library
define("line_notify_oauthUrl","https://notify-bot.line.me/oauth/"); //有兩組相同的,但網址最後不相同
//define("line_notify_oauthUrl","https://notify-bot.line.me/oauth/token"
define("line_notify_apiUrl","https://notify-api.line.me/api/notify");
//define("line_liffUrl","line://app/");
define("line_botUrl","https://api.line.me/v2/bot/");
define("line_profileUrl","https://api.line.me/v2/bot/profile/");
//升級
define("line_liffUrl","https://liff.line.me/");
//define("line_botUrl","https://api-data.line.me/v2/bot/");
//define("line_profileUrl","https://api-data.line.me/v2/bot/profile/");
define("line_sandbox_payUrl","https://sandbox-api-pay.line.me/v2/payments/");
define("line_payUrl","https://api-pay.line.me/v2/payments/");
//php echo srv_WebUrl;
//用於db_connect.php
//define('DB_DATABASE', "xxxx"); // database name
define('DB_DATABASE', "xxxxt"); // database name mcart_0989000001 sandbox-mcart
define('DB_SERVER', "xxx1"); // db server
define('DB_USER', "xxx"); // db user
define('DB_PASSWORD', "xxxxxx"); // db password
//用於db_func.php
define("srv_mail_username","xxxxxx"); //mail服務器帳號
define("srv_mail_password","xxxx"); //mail服務器密碼
define("srv_url","xxxxx"); //網址
define("web_email","webservice@ezpos.com"); //寄件者email
define("web_name","購物車--發信系統"); //web平台名稱
//define("app_name","mcart"); //網址
?>
沒有留言:
張貼留言