update function name

This commit is contained in:
EdyTheCow
2025-10-09 22:51:27 +02:00
parent a5df18bf0c
commit 236a311654
2 changed files with 2 additions and 2 deletions

View File

@@ -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."

View File

@@ -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."