Add my template project

This commit is contained in:
2024-08-09 21:30:13 +05:00
parent 0e0ac4f094
commit 832bf929dc
19 changed files with 243 additions and 0 deletions

5
engine/core/route.php Normal file
View File

@ -0,0 +1,5 @@
<?php
if(__URI__ == '/' || in_array(__URL__[0], ['index', 'route']))
Root::url('/main');
elseif(file_exists(__CD__.__URL__[0].'.php'))
require __CD__.__URL__[0].'.php';