Created
July 27, 2013 16:48
-
-
Save airways/6095436 to your computer and use it in GitHub Desktop.
Fix for pre EE 2.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PF_View extends View { | |
public function __construct(View $view) | |
{ | |
if(!isset($this->EE)) $this->EE = &get_instance(); // <-- Add this line | |
$this->set_cp_theme($view->_theme); | |
} | |
public function head_title($title) | |
{ | |
return parent::head_title(strip_tags($title)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment