Add initial .htaccess and PHP files for project setup

This commit is contained in:
2026-01-05 17:19:24 -04:00
parent cf928a7cb0
commit 24f62ca4c2
3 changed files with 93 additions and 0 deletions

20
index.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
include './init.php';
$html->setTitle('RDMusicWorld');
$html->setIconPage($assets['IMAGE']['FILE_DIR']['music']);
$html->loadStyles($styles);
$html->loadScripts($scripts);
ob_start();
if(!empty($_POST)){
include $page['REQUEST']['POST']['FILE_DIR'][$view];
}else{
include $views[$view];
}
$view_page = ob_get_clean();
$html->loadHTML($view_page, $view);
$html->output();