Merge branch 'master' into tres
This commit is contained in:
@@ -688,7 +688,7 @@ function diaspora_request($importer,$xml) {
|
||||
$default_perms = $x['perms_accept'];
|
||||
}
|
||||
if(! $default_perms)
|
||||
$default_perms = intval(get_pconfig($channel['channel_id'],'system','autoperms'));
|
||||
$default_perms = intval(get_pconfig($importer['channel_id'],'system','autoperms'));
|
||||
|
||||
$their_perms = PERMS_R_STREAM|PERMS_R_PROFILE|PERMS_R_PHOTOS|PERMS_R_ABOOK|PERMS_W_STREAM|PERMS_W_COMMENT|PERMS_W_MAIL|PERMS_W_CHAT|PERMS_R_STORAGE|PERMS_R_PAGES;
|
||||
|
||||
|
||||
@@ -163,6 +163,10 @@ function poller_run($argv, $argc){
|
||||
db_utcnow(), db_quoteinterval('14 DAY')
|
||||
);
|
||||
|
||||
$dirmode = intval(get_config('system','directory_mode'));
|
||||
if($dirmode == DIRECTORY_MODE_SECONDARY) {
|
||||
logger('regdir: ' . print_r(z_fetch_url(get_directory_primary() . '/regdir?f=&url=' . z_root() . '&realm=' . get_directory_realm()),true));
|
||||
}
|
||||
|
||||
/**
|
||||
* End Cron Weekly
|
||||
|
||||
@@ -2387,6 +2387,7 @@ function getIconFromType($type) {
|
||||
$iconMap = array(
|
||||
//Folder
|
||||
t('Collection') => 'icon-folder-close',
|
||||
'multipart/mixed' => 'icon-folder-close', //dirs in attach use this mime type
|
||||
//Common file
|
||||
'application/octet-stream' => 'icon-file-alt',
|
||||
//Text
|
||||
|
||||
Reference in New Issue
Block a user