diff --git a/index.php b/index.php index 0d94974..4557737 100644 --- a/index.php +++ b/index.php @@ -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( '/',