Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-22 23:03:13 +01:00
parent c8181621af
commit 58b2373712
19 changed files with 19094 additions and 49 deletions

View File

@@ -8,11 +8,12 @@ class Site
$class = '\controls\\';
$results = explode( '_', \S::get( 'module' ) );
$module = \S::get( 'module' ) ?? '';
$results = explode( '_', $module );
if ( is_array( $results ) ) foreach ( $results as $row )
$class .= ucfirst( $row );
$action = \S::get( 'action' );
$action = \S::get( 'action' ) ?? '';
$tpl = new \Tpl;
$tpl -> content = \controls\Site::route();