First Commit

This commit is contained in:
marco
2026-09-01 10:46:29 -03:00
commit bf96b77e9c
10000 changed files with 3508600 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
use Kernel\Application;
return function (Application $app) {
$app->addRoute('GET', '/admin/systemconfig', [\Modules\SystemConfig\Controllers\SystemConfigController::class, 'index']);
$app->addRoute('POST', '/admin/systemconfig/update', [\Modules\SystemConfig\Controllers\SystemConfigController::class, 'update']);
// Theme Management
$app->addRoute('GET', '/admin/themes', [\Modules\SystemConfig\Controllers\ThemeController::class, 'index']);
$app->addRoute('POST', '/admin/themes/activate/{theme}', [\Modules\SystemConfig\Controllers\ThemeController::class, 'activate']);
// Theme Customizer
$app->addRoute('GET', '/admin/themes/{theme}/customize', [\Modules\SystemConfig\Controllers\CustomizerController::class, 'index']);
$app->addRoute('POST', '/admin/themes/{theme}/customize/save', [\Modules\SystemConfig\Controllers\CustomizerController::class, 'save']);
};