Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix some coding standards issues.

  • Loading branch information...
commit 0df239de2b33b66e14b6929bd0f387802e56d686 1 parent 7d51db9
@markstory markstory authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/Cake/View/View.php
View
10 lib/Cake/View/View.php
@@ -1034,7 +1034,6 @@ protected function _getLayoutFileName($name = null) {
throw new MissingLayoutException(array('file' => $paths[0] . $file . $this->ext));
}
-
/**
* Get the extensions that view files can use.
*
@@ -1099,11 +1098,11 @@ protected function _paths($plugin = null, $cached = true) {
$themePaths = array();
foreach ($paths as $path) {
if (strpos($path, DS . 'Plugin' . DS) === false) {
- if ($plugin) {
- $themePaths[] = $path . 'Themed'. DS . $this->theme . DS . 'Plugin' . DS . $plugin . DS;
- }
- $themePaths[] = $path . 'Themed'. DS . $this->theme . DS;
+ if ($plugin) {
+ $themePaths[] = $path . 'Themed' . DS . $this->theme . DS . 'Plugin' . DS . $plugin . DS;
}
+ $themePaths[] = $path . 'Themed' . DS . $this->theme . DS;
+ }
}
$paths = array_merge($themePaths, $paths);
}
@@ -1113,4 +1112,5 @@ protected function _paths($plugin = null, $cached = true) {
}
return $this->_paths = $paths;
}
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.