diff --git a/flight/template/View.php b/flight/template/View.php index 2e53225..2c4e95c 100644 --- a/flight/template/View.php +++ b/flight/template/View.php @@ -154,7 +154,13 @@ class View { if ((substr($file, -4) != '.php')) { $file .= '.php'; } - return $this->path.'/'.$file; + if ((substr($file, 0, 1) == '/')) { + return $file; + } + else + { + return $this->path.'/'.$file; + } } /**