Skip to content
Snippets Groups Projects
Commit f8a441ce authored by Tim Steiner's avatar Tim Steiner
Browse files

Have the UNL profile set world write permissions on the files directory in the...

Have the UNL profile set world write permissions on the files directory in the newly created site directory.


git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@166 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent a141249b
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ function unl_profile_install()
theme_enable(array('unl_wdn'));
variable_set('theme_default', 'unl_wdn');
//TODO: IMCE setup (currently cannot be shared between sites)
// Update the settings file to use shared database tables (unless this is the default site)
if (conf_path() != 'sites/default') {
......@@ -83,7 +85,8 @@ function unl_profile_install()
//print_r($permissions);
//user_role_grant_permissions(3, array($permissions));
//echo "\nducks\n";
$files_dir = $settings_dir . '/files';
chmod($files_dir, 0777);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment