Commit 87938888 authored by ergonlogic's avatar ergonlogic

Issue #1283738 by halcyonCorsair, cweagans: Allow other commands to add or...

Issue #1283738 by halcyonCorsair, cweagans: Allow other commands to add or alter the directories to be created.
parent c477816b
......@@ -252,6 +252,9 @@ function _provision_drupal_create_directories($url = NULL, $profile = NULL) {
"sites/$url/private/temp"
);
// Allow other commands to add or alter the directories to be created.
drush_command_invoke_all('provision_drupal_create_directories_alter', $mkdir, $url);
foreach ($mkdir as $path => $perm) {
if (!is_dir($path)) {
provision_file()->mkdir($path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment