mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Changing check for theme to empty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4471 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
2bacc6603e
commit
d791bd75b4
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class ThemeView extends View {
|
|||
function __construct (&$controller) {
|
||||
parent::__construct($controller);
|
||||
$this->theme =& $controller->theme;
|
||||
if($this->theme !== null) {
|
||||
if(empty($this->theme)) {
|
||||
$this->themeWeb = 'themed/'.$this->theme.'/';
|
||||
$this->themeElement = VIEWS.'themed'.DS.$this->theme.DS.'elements'.DS;
|
||||
$this->themeLayout = VIEWS.'themed'.DS.$this->theme.DS.'layouts'.DS;
|
||||
|
|
Loading…
Reference in a new issue