From 6f5eafa4348552d28b2021ac9c12e253f6d66d96 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Tue, 24 Nov 2015 18:21:58 +0100 Subject: [PATCH] Little fix in show view --- src/View.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/View.php b/src/View.php index eadfaa8..53c90cd 100644 --- a/src/View.php +++ b/src/View.php @@ -327,6 +327,8 @@ class View { $yes_file=0; + $url=preg_replace('/\?.*$/', '', $url); + $arr_url=explode(View::$php_file.'/', $url); $final_path='';