Permalink
Browse files

allowing install/cake-wide plugins

  • Loading branch information...
1 parent 593bec8 commit 94e986561bf5de6886719c9c3e5211535f9e5960 @AD7six AD7six committed with gwoo Jul 24, 2009
Showing with 2 additions and 4 deletions.
  1. +0 −2 cake/console/cake.php
  2. +2 −2 cake/libs/configure.php
  3. 0 plugins/empty
View
2 cake/console/cake.php
@@ -226,7 +226,6 @@ function __buildPaths() {
if (!class_exists('Folder')) {
require LIBS . 'folder.php';
}
-
foreach ($pluginPaths as $pluginPath) {
$Folder =& new Folder($pluginPath);
list($plugins,) = $Folder->read(false, true);
@@ -608,7 +607,6 @@ function help() {
$this->stdout("\nAvailable Shells:");
$_shells = array();
-
foreach ($this->shellPaths as $path) {
if (is_dir($path)) {
$shells = App::objects('file', $path);
View
4 cake/libs/configure.php
@@ -630,9 +630,9 @@ function build($paths = array(), $reset = false) {
'views' => array(VIEWS),
'helpers' => array(HELPERS),
'locales' => array(APP . 'locale' . DS),
- 'shells' => array(APP . 'vendors' . DS . 'shells', VENDORS . 'shells'),
+ 'shells' => array(APP . 'vendors' . DS . 'shells' . DS, VENDORS . 'shells' . DS),
'vendors' => array(APP . 'vendors' . DS, VENDORS),
- 'plugins' => array(APP . 'plugins' . DS),
+ 'plugins' => array(APP . 'plugins' . DS, CAKE_CORE_INCLUDE_PATH . DS . 'plugins' . DS),
);
if ($reset == true) {
View
0 plugins/empty
No changes.

0 comments on commit 94e9865

Please sign in to comment.