New 'libraries' folder in root instalation directory
This commit is contained in:
parent
05b6a91b0c
commit
006992b900
2267 changed files with 50 additions and 65 deletions
|
@ -46,7 +46,7 @@ function ckeditor_drush_command() {
|
|||
'callback' => 'ckeditor_drush_download',
|
||||
'description' => dt('Downloads the required CKEditor library from svn.ckeditor.com.'),
|
||||
'arguments' => array(
|
||||
'path' => dt('Optional. The path to the download folder. If omitted, Drush will use the default location (<code>sites/all/libraries/ckeditor</code>).'),
|
||||
'path' => dt('Optional. The path to the download folder. If omitted, Drush will use the default location (<code>libraries/ckeditor</code>).'),
|
||||
),
|
||||
);
|
||||
return $items;
|
||||
|
@ -61,7 +61,7 @@ function ckeditor_drush_download() {
|
|||
$path = $args[0];
|
||||
}
|
||||
else {
|
||||
$path = drush_get_context('DRUSH_DRUPAL_ROOT') . '/sites/all/libraries/ckeditor';
|
||||
$path = drush_get_context('DRUSH_DRUPAL_ROOT') . '/libraries/ckeditor';
|
||||
}
|
||||
|
||||
if (drush_shell_exec('svn checkout http://svn.ckeditor.com/CKEditor/releases/stable/ ' . $path)) {
|
||||
|
|
Reference in a new issue