Correction for running on php -S
This commit is contained in:
4
.htaccess
Normal file
4
.htaccess
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
SetEnv APPLICATION_ENV development
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteRule !\.(js|gif|jpg|png|css|txt)$ index.php [L]
|
||||||
|
RewriteRule ^(.*)$ $1 [L]
|
||||||
@@ -23,8 +23,8 @@ class indexController extends View implements IController
|
|||||||
array(
|
array(
|
||||||
'name' => 'Beispielseite',
|
'name' => 'Beispielseite',
|
||||||
'title' => 'Stephan Kasdorf - Nibiru Example',
|
'title' => 'Stephan Kasdorf - Nibiru Example',
|
||||||
'css' => Config::getInstance()->getConfig()[View::ATM_SETTINGS]["smarty.css"],
|
'css' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.css"],
|
||||||
'js' => Config::getInstance()->getConfig()[View::ATM_SETTINGS]["smarty.js"]
|
'js' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.js"]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user