Fix some coding standards issues.

This commit is contained in:
mark_story 2012-03-03 15:59:36 -05:00
parent 7d51db9e63
commit 0df239de2b

View file

@ -1034,7 +1034,6 @@ class View extends Object {
throw new MissingLayoutException(array('file' => $paths[0] . $file . $this->ext)); throw new MissingLayoutException(array('file' => $paths[0] . $file . $this->ext));
} }
/** /**
* Get the extensions that view files can use. * Get the extensions that view files can use.
* *
@ -1099,11 +1098,11 @@ class View extends Object {
$themePaths = array(); $themePaths = array();
foreach ($paths as $path) { foreach ($paths as $path) {
if (strpos($path, DS . 'Plugin' . DS) === false) { if (strpos($path, DS . 'Plugin' . DS) === false) {
if ($plugin) { if ($plugin) {
$themePaths[] = $path . 'Themed'. DS . $this->theme . DS . 'Plugin' . DS . $plugin . DS; $themePaths[] = $path . 'Themed' . DS . $this->theme . DS . 'Plugin' . DS . $plugin . DS;
}
$themePaths[] = $path . 'Themed'. DS . $this->theme . DS;
} }
$themePaths[] = $path . 'Themed' . DS . $this->theme . DS;
}
} }
$paths = array_merge($themePaths, $paths); $paths = array_merge($themePaths, $paths);
} }
@ -1113,4 +1112,5 @@ class View extends Object {
} }
return $this->_paths = $paths; return $this->_paths = $paths;
} }
} }