1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 04:57:40 +03:00

Shared platform footer template for hub and all PHP consoles.

Centralize copyright in examples/platform/footer.config.php, render via
footer.php in crashes/builder/login layouts, and serve hub through index.php.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-02 18:54:13 +02:00
parent f885d194dd
commit 4803caebce
18 changed files with 1313 additions and 1100 deletions

View File

@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
/**
* Emit a static footer.html from footer.config.php (for docs or static-only hosts).
*
* php examples/platform/scripts/render-footer-html.php > /path/to/footer.html
*/
require_once dirname(__DIR__) . '/footer.php';
ob_start();
platform_render_footer(['use_i18n' => false]);
$footer = ob_get_clean();
echo $footer . "\n";