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 = $app->view();
|
||||||
$view->parserExtensions = array(
|
$view->parserExtensions = array(
|
||||||
dirname(__FILE__).'/vendor/slim/views/SmartyPlugins',
|
__DIR__.'/vendor/slim/views/SmartyPlugins'
|
||||||
);
|
);
|
||||||
$app->get(
|
$app->get(
|
||||||
'/',
|
'/',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue