Skip to content

Commit

Permalink
M src/View.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderson Ismael committed Dec 16, 2017
1 parent 857e961 commit e69da1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function view($name, $data=null, $print=true)
}
$filename=ROOT.'app/view/'.$name.'.php';
$data['data']=$data;
$data['view']=$view;
$data['view']=$this;
$data['viewName']=$name;
if (file_exists($filename)) {
extract($data);
Expand Down

0 comments on commit e69da1e

Please sign in to comment.