aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-17 17:44:31 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-17 17:44:31 -0700
commit6ab20eb1b50da91ba35911fea8b09f2ef8e461fd (patch)
tree1c19bb5b412562a7ca33a97ff19c5aac156f8016 /include/identity.php
parentc6c17182e5c8d48e2ac16039a92df1cf4596fd88 (diff)
downloadvolse-hubzilla-6ab20eb1b50da91ba35911fea8b09f2ef8e461fd.tar.gz
volse-hubzilla-6ab20eb1b50da91ba35911fea8b09f2ef8e461fd.tar.bz2
volse-hubzilla-6ab20eb1b50da91ba35911fea8b09f2ef8e461fd.zip
lots of work on merging photo and file albums/folders
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index 184e9c308..5880e912e 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -406,6 +406,11 @@ function create_identity($arr) {
}
}
+ if(! $system) {
+ set_pconfig($ret['channel']['channel_id'],'system','photo_path', '%Y-%m');
+ set_pconfig($ret['channel']['channel_id'],'system','attach_path','%Y-%m');
+ }
+
// auto-follow any of the hub's pre-configured channel choices.
// Only do this if it's the first channel for this account;
// otherwise it could get annoying. Don't make this list too big