User __DIR__ instead of dirname()

This commit is contained in:
Pierre Rudloff 2015-10-30 13:06:12 +01:00
parent ac1eac3cf7
commit 92035533b8
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $app = new \Slim\Slim(
);
$view = $app->view();
$view->parserExtensions = array(
dirname(__FILE__).'/vendor/slim/views/SmartyPlugins',
__DIR__.'/vendor/slim/views/SmartyPlugins'
);
$app->get(
'/',