diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-12 17:47:38 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-12 17:47:38 -0800 |
commit | 888bf76e4b4c2d4285c0bb28334df6e9af884e16 (patch) | |
tree | 6ec874a975ffad844dd2389979f75939771518ed /mod | |
parent | 22a650ade8b6c4472f9ad70337b69ee54e2c7c32 (diff) | |
download | volse-hubzilla-888bf76e4b4c2d4285c0bb28334df6e9af884e16.tar.gz volse-hubzilla-888bf76e4b4c2d4285c0bb28334df6e9af884e16.tar.bz2 volse-hubzilla-888bf76e4b4c2d4285c0bb28334df6e9af884e16.zip |
allow pdl content
Diffstat (limited to 'mod')
-rw-r--r-- | mod/page.php | 4 |
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; |