new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?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('pisiV2/');
|
||||
|
||||
# The current settings are being configured.
|
||||
Masterpage::headPage('Assets/head')
|
||||
->bodyPage('Assets/body');
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user