ver. 0.293: front\controls\Site + front\view\Site → front\App + front\LayoutEngine

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 22:21:44 +01:00
parent d14018a5f3
commit 3fd59ffa0d
13 changed files with 83 additions and 38 deletions

View File

@@ -59,7 +59,7 @@ $mdb = new medoo( [
'time_debug' => $database['time_debug']
] );
\front\controls\Site::check_url_params();
\front\App::checkUrlParams();
$langRepo = new \Domain\Languages\LanguagesRepository( $mdb );
@@ -154,10 +154,10 @@ if ( !is_array( $page ) or !(int)$page['id'] )
if ( \Shared\Helpers\Helpers::get( 'devel' ) )
$settings[ 'devel' ] = true;
$out = \front\view\Site::show();
$out = \front\LayoutEngine::show();
if ( !isset( $_COOKIE[ "cookie_information" ] ) )
$out = strrev( implode( strrev( \front\view\Site::cookie_information() . '</body>' ), explode( strrev( '</body>' ), strrev( $out ), 2 ) ) );
$out = strrev( implode( strrev( \front\LayoutEngine::cookieInformation() . '</body>' ), explode( strrev( '</body>' ), strrev( $out ), 2 ) ) );
if ( $settings[ 'statistic_code' ] )
$out = strrev( implode( strrev( $settings[ 'statistic_code' ] . '</body>' ), explode( strrev( '</body>' ), strrev( $out ), 2 ) ) );