Private
Public Access
- Consolidated theme rendering logic into helper functions in `lib/theme_helpers.php`. - Updated `page.html.php` for both dark and light themes to utilize new rendering functions. - Introduced `arcgauge` component for SVG arc gauges with dynamic updates. - Enhanced CSS for gauges to improve layout and styling consistency. - Added new test suite for smoke testing routes and component rendering. - Updated index and themes views to dynamically display theme information from configuration.
18 lines
512 B
PHP
18 lines
512 B
PHP
<?php
|
|
|
|
$project_root = dirname(__DIR__);
|
|
chdir($project_root);
|
|
|
|
$_SERVER['REQUEST_METHOD'] = 'GET';
|
|
$_SERVER['REQUEST_URI'] = '/web-app-starter/?';
|
|
$_SERVER['PHP_SELF'] = '/web-app-starter/index.php';
|
|
$_SERVER['DOCUMENT_URI'] = '/web-app-starter/index.php';
|
|
$_GET = array();
|
|
$_POST = array();
|
|
$_REQUEST = array();
|
|
$_COOKIE = array();
|
|
|
|
require $project_root.'/config/settings.php';
|
|
require $project_root.'/lib/ulib.php';
|
|
require $project_root.'/lib/components.php';
|
|
require $project_root.'/lib/theme_helpers.php'; |