|
|
|
@ -154,8 +154,14 @@ class View {
|
|
|
|
if ((substr($file, -4) != '.php')) {
|
|
|
|
if ((substr($file, -4) != '.php')) {
|
|
|
|
$file .= '.php';
|
|
|
|
$file .= '.php';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if ((substr($file, 0, 1) == '/')) {
|
|
|
|
|
|
|
|
return $file;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
return $this->path.'/'.$file;
|
|
|
|
return $this->path.'/'.$file;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Displays escaped output.
|
|
|
|
* Displays escaped output.
|
|
|
|
|