removed some comment bloat from view class.
This commit is contained in:
@@ -87,8 +87,6 @@ class View_Factory {
|
|||||||
{
|
{
|
||||||
$view = str_replace('.', '/', $view);
|
$view = str_replace('.', '/', $view);
|
||||||
|
|
||||||
// A view may have a regular extension or a blade extension. We will need to
|
|
||||||
// check for both extensions when determining the path to the view.
|
|
||||||
foreach (array(EXT, BLADE_EXT) as $extension)
|
foreach (array(EXT, BLADE_EXT) as $extension)
|
||||||
{
|
{
|
||||||
if (file_exists($path = $this->path.$view.$extension)) return $path;
|
if (file_exists($path = $this->path.$view.$extension)) return $path;
|
||||||
|
|||||||
Reference in New Issue
Block a user