Merge branch 'dev' into prevent_healthy_status_on_unhealthy

This commit is contained in:
Patrick Winnertz
2024-08-26 08:41:47 +02:00
committed by GitHub
43 changed files with 4051 additions and 2779 deletions

View File

@@ -89,7 +89,10 @@ class cron extends CI_Controller {
echo "CRON: " . $cron->id . " -> is due: " . $isdue_result . "\n";
echo "CRON: " . $cron->id . " -> RUNNING...\n";
$url = base_url() . $cron->function;
$url = local_url() . $cron->function;
if (ENVIRONMENT == "development") {
echo "CRON: " . $cron->id . " -> URL: " . $url . "\n";
}
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);