35 lines
2.5 KiB
PHP
35 lines
2.5 KiB
PHP
<?php
|
||
/**
|
||
* status/config.php
|
||
* ─────────────────────────────────────────────────────────────────────────────
|
||
* Configuration for the /status/ update log pages.
|
||
* Edit this file only — index.php and post.php read from here.
|
||
*/
|
||
|
||
// ── Data source ───────────────────────────────────────────────────────────────
|
||
// Absolute path to updates.json.
|
||
// Default points one level up from /status/ to the shared index_config folder.
|
||
define('STATUS_JSON_PATH', dirname(__DIR__) . '/index_config/updates.json');
|
||
|
||
// ── Site identity ─────────────────────────────────────────────────────────────
|
||
define('STATUS_SITE_NAME', 'Ty Clifford');
|
||
define('STATUS_SITE_URL', 'https://tyclifford.com');
|
||
define('STATUS_BASE_URL', STATUS_SITE_URL . '/status'); // no trailing slash
|
||
|
||
// ── Page copy ─────────────────────────────────────────────────────────────────
|
||
define('STATUS_PAGE_TITLE', 'Status & Updates');
|
||
define('STATUS_PAGE_SUBTITLE', 'Latest news, stream notices, and site changes.');
|
||
|
||
// ── Pagination ────────────────────────────────────────────────────────────────
|
||
// Posts shown per page on the list view. Recommended: 10–15.
|
||
define('STATUS_PER_PAGE', 10);
|
||
|
||
// ── Navigation ────────────────────────────────────────────────────────────────
|
||
// Link shown in the top-left breadcrumb / back arrow.
|
||
define('STATUS_HOME_URL', STATUS_SITE_URL . '/');
|
||
define('STATUS_HOME_LABEL', '← ' . STATUS_SITE_NAME);
|
||
|
||
// ── Favicon ───────────────────────────────────────────────────────────────────
|
||
define('STATUS_FAVICON_ICO', STATUS_SITE_URL . '/images/ico/fa-bl.ico');
|
||
define('STATUS_FAVICON_JPG', STATUS_SITE_URL . '/images/ico/fa-bl.jpg');
|