<?php
$_SERVER["SERVER_NAME"] = "sunsandholidays.com";
$_SERVER["HTTP_HOST"] = "sunsandholidays.com";
include "/var/www/sunsandholidays.com/wp-load.php";
$data = file_get_contents("/tmp/footer_fixed.json");
update_post_meta(6349, "_elementor_data", $data);
update_post_meta(6349, "_elementor_css", "");
echo "Footer colors updated\n";
// Clear cache
system("sudo rm -rf /var/www/sunsandholidays.com/wp-content/cache/airlift/ 2>/dev/null");
echo "Cache cleared\n";