Commit 60e20e92 authored by Grace's avatar Grace Committed by anarcat

Better support for files common subdirs.

parent 33ae5755
......@@ -186,6 +186,26 @@ function _provision_drupal_create_directories($url = NULL, $profile = NULL) {
$mkdir["sites/$url/files/pictures"] = 02770;
$chgrp["sites/$url/files/pictures"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/css"] = 02770;
$chown["sites/$url/files/css"] = d('@server_master')->script_user;
$chgrp["sites/$url/files/css"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/js"] = 02770;
$chown["sites/$url/files/js"] = d('@server_master')->script_user;
$chgrp["sites/$url/files/js"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/ctools"] = 02770;
$chown["sites/$url/files/ctools"] = d('@server_master')->script_user;
$chgrp["sites/$url/files/ctools"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/imagecache"] = 02770;
$chown["sites/$url/files/imagecache"] = d('@server_master')->script_user;
$chgrp["sites/$url/files/imagecache"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/locations"] = 02770;
$chown["sites/$url/files/locations"] = d('@server_master')->script_user;
$chgrp["sites/$url/files/locations"] = d('@server_master')->web_group;
// d7 support
$mkdir["sites/$url/private"] = 02770;
$chgrp["sites/$url/private"] = d('@server_master')->web_group;
......@@ -204,6 +224,11 @@ function _provision_drupal_create_directories($url = NULL, $profile = NULL) {
"sites/$url/files/tmp",
"sites/$url/files/images",
"sites/$url/files/pictures",
"sites/$url/files/css",
"sites/$url/files/js",
"sites/$url/files/ctools",
"sites/$url/files/imagecache",
"sites/$url/files/locations",
"sites/$url/private",
"sites/$url/private/files",
"sites/$url/private/temp"
......
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