mirror of
https://github.com/EdyTheCow/docker-whmcs.git
synced 2026-04-02 02:38:13 +00:00
update function name
This commit is contained in:
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
Reference in New Issue
Block a user