Remove WEB_ROOT env variable (legacy)

This commit is contained in:
2023-01-23 19:50:30 +01:00
parent e5ad0997f6
commit dd43a2e929
4 changed files with 6 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ function installPlugin() {
function main() {
PLUGIN_LIST="${WORDPRESS_PLUGIN_LIST:-}"
PLUGIN_STRICT_INSTALL="${WORDPRESS_PLUGIN_INSTALL_STRICT:-false}"
WP_CONTENT_PATH="/var/www/${WEB_ROOT}/wp-content"
WP_CONTENT_PATH="/var/www/html/wp-content"
echo "> Automated WordPress Plugin Installer"
if [ -z "${PLUGIN_LIST}" ]; then