diff --git a/whmcs-nginx/config/whmcs-lib.sh b/whmcs-nginx/config/whmcs-lib.sh index 980e9fc..2b13fe6 100644 --- a/whmcs-nginx/config/whmcs-lib.sh +++ b/whmcs-nginx/config/whmcs-lib.sh @@ -154,7 +154,7 @@ move_crons_to_storage() { # Set templates_c location to whmcs_storage # This function simply appends config value with new path to templates_c ## -set_templates_compiledir_config() { +set_templates_location() { main_cfg="$WHMCS_WEB_ROOT/configuration.php" [ -f "$main_cfg" ] || die "configuration.php not found; complete the initial WHMCS installation first." diff --git a/whmcs-nginx/config/whmcs-post-install-config.sh b/whmcs-nginx/config/whmcs-post-install-config.sh index 64303e5..a61be7e 100644 --- a/whmcs-nginx/config/whmcs-post-install-config.sh +++ b/whmcs-nginx/config/whmcs-post-install-config.sh @@ -6,6 +6,6 @@ set -eu; (set -o pipefail 2>/dev/null) && set -o pipefail move_crons_to_storage # 2) Relocate templates_c to whmcs_storage by updating configuration.php ($templates_compiledir) to new path -set_templates_compiledir +set_templates_location log "Post-install configuration done." \ No newline at end of file