User __DIR__ instead of dirname()

This commit is contained in:
Pierre Rudloff 2015-10-30 13:06:12 +01:00
parent ac1eac3cf7
commit 92035533b8

View file

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