f3d717385e98512d91cf2f65e98de30a70417660

Author: AD7six

Date: 2010-02-14 22:15:45 +0100

correcting base logic to correctly identify git repos

diff --git a/config/editor.php b/config/editor.php index bedd3f2..10dedac 100644 --- a/config/editor.php +++ b/config/editor.php @@ -7,7 +7,7 @@ * templatePath - the absolute path to the view folder where your documentation templates are. Defaults to the views * folder in the plugin itself * templateFolder - The view folder to use, will auto detect unless overriden, available default options are: - * ' 'default' (svn headers included), + * 'default' (svn headers included), * 'git' (no svn headers) * 'cake' (Headers for the cake core) * nl - The new line character "\n". Change if appropriate diff --git a/vendors/shells/tasks/base.php b/vendors/shells/tasks/base.php index 7ff727c..905a320 100644 --- a/vendors/shells/tasks/base.php +++ b/vendors/shells/tasks/base.php @@ -133,12 +133,10 @@ class BaseTask extends Shell { foreach ($this->settings['signatureFiles'] as $type => $signatureFile) { if (file_exists($_path . $signatureFile)) { $base = $_path; + break (2); } } $_path = dirname($_path); - if ($base) { - break; - } } if (!$base) { $base = $path;