1
0
mirror of git://f0xx.org/ac/ac-platform-php synced 2026-07-29 05:57:47 +03:00
Files
ac-platform-php/platform/scripts/render-footer-html.php
Anton Afanasyeu f4b39bea26 initial
2026-06-23 12:29:28 +02:00

17 lines
365 B
PHP

<?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";