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