Files
web-site/Projects/Members/Controllers/Initialize.php
T
2026-07-01 16:44:17 +03:00

21 lines
570 B
PHP

<?php namespace Project\Controllers;
class Initialize extends Controller
{
/**
* The codes to run at startup.
* It enters the circuit before all controllers.
* You can change this setting in Config/Starting.php file.
*/
public function main()
{
# The theme is activated.
# Location: Resources/Themes/Default/
Theme::active('Default');
# The current settings are being configured.
Masterpage::headPage('assets/head')
->bodyPage('assets/body');
}
}