diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-08-15 13:21:12 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-08-15 13:21:12 +0200 |
commit | 2becc3273aa377574d566c052036f425105b2389 (patch) | |
tree | ff7a897190ea8f63b2aa67923ffb58fcd128d531 /include/channel.php | |
parent | 10c5b46e3bb4cfa76cbe7158f5eba54809cd0d79 (diff) | |
parent | f4f610f1a3b3826f960e3db2026bf2204e939fe8 (diff) | |
download | volse-hubzilla-2becc3273aa377574d566c052036f425105b2389.tar.gz volse-hubzilla-2becc3273aa377574d566c052036f425105b2389.tar.bz2 volse-hubzilla-2becc3273aa377574d566c052036f425105b2389.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/channel.php')
-rw-r--r-- | include/channel.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php index 2d0231bba..82d500e83 100644 --- a/include/channel.php +++ b/include/channel.php @@ -2797,3 +2797,6 @@ function pchan_to_chan($pchan) { return $chan; } +function channel_url($channel) { + return (($channel) ? z_root() . '/channel/' . $channel['channel_address'] : z_root()); +} |