diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..363ce54 --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ +SetEnv APPLICATION_ENV development +RewriteEngine On +RewriteRule !\.(js|gif|jpg|png|css|txt)$ index.php [L] +RewriteRule ^(.*)$ $1 [L] diff --git a/application/controller/indexController.php b/application/controller/indexController.php index 4e3a606..2b9961a 100644 --- a/application/controller/indexController.php +++ b/application/controller/indexController.php @@ -23,8 +23,8 @@ class indexController extends View implements IController array( 'name' => 'Beispielseite', 'title' => 'Stephan Kasdorf - Nibiru Example', - 'css' => Config::getInstance()->getConfig()[View::ATM_SETTINGS]["smarty.css"], - 'js' => Config::getInstance()->getConfig()[View::ATM_SETTINGS]["smarty.js"] + 'css' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.css"], + 'js' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.js"] ) ); }