rename from .htaccess
rename to public/.htaccess
rename from css/main.css
rename to public/css/main.css
rename from index.php
rename to public/index.php
--- a/index.php
+++ b/public/index.php
@@ -1,13 +1,15 @@
<?php
+chdir(dirname(__DIR__));
+require_once 'config/config.php';
+
/**
* Bröker Framework Version 0.1
*
* @author Markus Bröker<broeker.markus@googlemail.com>
*/
+
use bfw\Dispatcher;
-require_once 'config/config.php';
-
$dispatcher = new Dispatcher();
return $dispatcher->delegate();
rename from js/main.js
rename to public/js/main.js