Azure App Service上的Wordpress读取应用程序设置

问题描述 投票:0回答:1

我有一个在Azure上运行的WordPress站点作为App Service。我计划使用部署插槽来设置测试环境。我有一些特定于环境的设置。如果我运行.NET,我会阅读应用程序设置。

PHP可以读取应用程序设置吗?

php wordpress azure azure-web-app-service
1个回答
0
投票

您可以使用getenv()读取设置

getenv('settingname');
© www.soinside.com 2019 - 2024. All rights reserved.