From 92035533b81cc00cd9055339fb19e2c4c711cbf5 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 30 Oct 2015 13:06:12 +0100 Subject: [PATCH] User __DIR__ instead of dirname() --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( '/',