From aa87a11f124daa0ccac288f73ff8009be4ace855 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 29 Jan 2025 15:59:21 -0500 Subject: [PATCH] Removed setup from the cron script wording --- cron.php | 2 +- cron_certificate_refresher.php | 2 +- cron_domain_refresher.php | 2 +- cron_mail_queue.php | 2 +- cron_ticket_email_parser.php | 2 +- scripts/cron.php | 2 +- scripts/cron_certificate_refresher.php | 2 +- scripts/cron_domain_refresher.php | 2 +- scripts/cron_mail_queue.php | 2 +- scripts/cron_ticket_email_parser.php | 2 +- scripts/setup_cli.php | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cron.php b/cron.php index d5dcead7..e5a7ea22 100644 --- a/cron.php +++ b/cron.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "config.php"; diff --git a/cron_certificate_refresher.php b/cron_certificate_refresher.php index a922551f..67f3575a 100644 --- a/cron_certificate_refresher.php +++ b/cron_certificate_refresher.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "config.php"; diff --git a/cron_domain_refresher.php b/cron_domain_refresher.php index 2aed8803..db1e354e 100644 --- a/cron_domain_refresher.php +++ b/cron_domain_refresher.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "config.php"; diff --git a/cron_mail_queue.php b/cron_mail_queue.php index d7a8ca78..19337e6f 100644 --- a/cron_mail_queue.php +++ b/cron_mail_queue.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "config.php"; diff --git a/cron_ticket_email_parser.php b/cron_ticket_email_parser.php index 538aca44..00970092 100644 --- a/cron_ticket_email_parser.php +++ b/cron_ticket_email_parser.php @@ -12,7 +12,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } // Get ITFlow config & helper functions diff --git a/scripts/cron.php b/scripts/cron.php index 52a3cce6..590d782d 100644 --- a/scripts/cron.php +++ b/scripts/cron.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "../config.php"; diff --git a/scripts/cron_certificate_refresher.php b/scripts/cron_certificate_refresher.php index 52fba4da..84f951e7 100644 --- a/scripts/cron_certificate_refresher.php +++ b/scripts/cron_certificate_refresher.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "../config.php"; diff --git a/scripts/cron_domain_refresher.php b/scripts/cron_domain_refresher.php index 048dea54..f32e25fa 100644 --- a/scripts/cron_domain_refresher.php +++ b/scripts/cron_domain_refresher.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "../config.php"; diff --git a/scripts/cron_mail_queue.php b/scripts/cron_mail_queue.php index f5f0d9a5..38464fed 100644 --- a/scripts/cron_mail_queue.php +++ b/scripts/cron_mail_queue.php @@ -5,7 +5,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } require_once "../config.php"; diff --git a/scripts/cron_ticket_email_parser.php b/scripts/cron_ticket_email_parser.php index 2c534f7a..8fb999e6 100644 --- a/scripts/cron_ticket_email_parser.php +++ b/scripts/cron_ticket_email_parser.php @@ -12,7 +12,7 @@ chdir(dirname(__FILE__)); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } // Get ITFlow config & helper functions diff --git a/scripts/setup_cli.php b/scripts/setup_cli.php index 20b3a085..4e2411c5 100644 --- a/scripts/setup_cli.php +++ b/scripts/setup_cli.php @@ -10,7 +10,7 @@ chdir(__DIR__); // Ensure we're running from command line if (php_sapi_name() !== 'cli') { - die("This setup script must be run from the command line.\n"); + die("This script must be run from the command line.\n"); } // Define required arguments