User __DIR__ instead of dirname()
This commit is contained in:
parent
ac1eac3cf7
commit
92035533b8
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
'/',
|
||||
|
|
Loading…
Reference in a new issue