Hi ,
I try to develop a cms ,
i welcome any help or opinion ,
root file : index.php , .htaccess
folders :
==>core
--> includes { bootstrap.inc.php , dbconnect.inc.php , patch.inc.php , ...)
--> modules {user , content , menu , sys , box }
--> style {css , img , template }
==>server
--> default {config.php}
--> example.com {config.php , modules , style , files}
==>main
--> files
--> library
--> modules
--> style
---->default {template , css , img }
The index file content :
<?php
define('ROOT', getcwd());
require_once ROOT . '/core/includes/bootstrap.inc.php';
?>
.htaccess file content :
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]