Uncommented out temp comment check cli runtime

This commit is contained in:
johnnyq
2025-03-27 12:40:43 -04:00
parent 810af638a3
commit 2fb75e6d67
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ if (isset($_GET['update'])) {
$recurring_ticket_count = $row['num']; $recurring_ticket_count = $row['num'];
// Calendar Event Count // Calendar Event Count
$row = mysqli_fetch_assoc(mysqli_query($mysqli,"SELECT COUNT('event_id') AS num FROM events")); $row = mysqli_fetch_assoc(mysqli_query($mysqli,"SELECT COUNT('event_id') AS num FROM calendar_events"));
$calendar_event_count = $row['num']; $calendar_event_count = $row['num'];
// Quote Count // Quote Count

View File

@@ -4,9 +4,9 @@
chdir(dirname(__FILE__)); chdir(dirname(__FILE__));
// Ensure we're running from command line // Ensure we're running from command line
//if (php_sapi_name() !== 'cli') { if (php_sapi_name() !== 'cli') {
// die("This script must be run from the command line.\n"); die("This script must be run from the command line.\n");
//} }
require_once "../config.php"; require_once "../config.php";