Skip to content

Commit

Permalink
critical global def
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Jul 18, 2023
1 parent bcc7b89 commit bdb9348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/post_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ $hcpp->patch_file(
$hcpp->patch_file(
'/usr/local/hestia/web/inc/main.php',
"function show_alert_message(\$data) {",
"function show_alert_message(\$data) {\n\tob_start();\n"
"function show_alert_message(\$data) {\n\tglobal \$hcpp;\n\tob_start();\n"
);
$hcpp->patch_file(
'/usr/local/hestia/web/inc/main.php',
Expand Down

0 comments on commit bdb9348

Please sign in to comment.