diff --git a/index.php b/index.php index 4557737..83f92fc 100644 --- a/index.php +++ b/index.php @@ -22,7 +22,8 @@ $app = new \Slim\Slim( ); $view = $app->view(); $view->parserExtensions = array( - __DIR__.'/vendor/slim/views/SmartyPlugins' + __DIR__.'/vendor/slim/views/SmartyPlugins', + __DIR__.'/smarty' ); $app->get( '/', diff --git a/smarty/modifier.noscheme.php b/smarty/modifier.noscheme.php new file mode 100644 index 0000000..b92adc1 --- /dev/null +++ b/smarty/modifier.noscheme.php @@ -0,0 +1,5 @@ +