aboutsummaryrefslogtreecommitdiffstats
path: root/mod/page.php
diff options
context:
space:
mode:
authorWave <wave72@users.noreply.github.com>2015-11-25 09:39:44 +0100
committerWave <wave72@users.noreply.github.com>2015-11-25 09:39:44 +0100
commit2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3 (patch)
tree783f90531c93f498609fb1dbd0e199ca65bb2cc0 /mod/page.php
parente785b723aad51d4f7202dbbb24a0e2245428cb5b (diff)
parent0559db9cf81267c34ca014fef1aebe1cf31de2ab (diff)
downloadvolse-hubzilla-2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3.tar.gz
volse-hubzilla-2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3.tar.bz2
volse-hubzilla-2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3.zip
Merge pull request #3 from redmatrix/master
Update branch
Diffstat (limited to 'mod/page.php')
-rw-r--r--mod/page.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/page.php b/mod/page.php
index b635a60f2..ae572ca1e 100644
--- a/mod/page.php
+++ b/mod/page.php
@@ -131,6 +131,10 @@ function page_content(&$a) {
xchan_query($r);
$r = fetch_post_tags($r,true);
+
+ if($r[0]['mimetype'] === 'application/x-pdl')
+ $a->page['pdl_content'] = true;
+
$o .= prepare_page($r[0]);
return $o;