Item #4: centralize timezone, collapse the 16 pod branches to loops
- includes/db.php now defines PQS_TIMEZONE and sets it on include; the 9 files
that hardcoded date_default_timezone_set('America/Chicago') drop the call
(main pages already load db.php; display includes now require it).
- console.php: pod load and the 16 pod-checkbox lines collapsed into loops over
a $pods array (fixed 16 kept - hardware max). Output unchanged.
Verified: timezone resolves to America/Chicago via the constant; console commit,
config update, and pod-checkbox rendering all correct; registration suite green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
</head>
|
||||
<body style='background: #000;'>
|
||||
<?php
|
||||
date_default_timezone_set('America/Chicago');
|
||||
require_once("includes/db.php");
|
||||
//include_once("includes/config.php");
|
||||
//var_dump($_GET);
|
||||
if (isset($_GET['callsign'])){
|
||||
|
||||
Reference in New Issue
Block a user