From 651ab412a7990026c3b941388cf64834451ae826 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 30 Oct 2015 13:40:36 +0100 Subject: [PATCH] WIP noscheme modifier --- index.php | 3 ++- smarty/modifier.noscheme.php | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 smarty/modifier.noscheme.php 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 @@ +