aboutsummaryrefslogtreecommitdiffstats
path: root/mod/linkinfo.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-18 15:24:58 -0800
committerredmatrix <git@macgirvin.com>2016-02-18 15:24:58 -0800
commit342fda94e4162634eeb67c18c1d284e7d78f217f (patch)
tree8171ce097a62ddf6de743a4ec25b2dd9ae3ccc41 /mod/linkinfo.php
parentc107bcfbd972a900cfd81b217014f7d4915fd73d (diff)
downloadvolse-hubzilla-342fda94e4162634eeb67c18c1d284e7d78f217f.tar.gz
volse-hubzilla-342fda94e4162634eeb67c18c1d284e7d78f217f.tar.bz2
volse-hubzilla-342fda94e4162634eeb67c18c1d284e7d78f217f.zip
Provide Zotlabs\Project and System class for querying details about the project/version info. Move these out of /boot.php
Diffstat (limited to 'mod/linkinfo.php')
-rw-r--r--mod/linkinfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/linkinfo.php b/mod/linkinfo.php
index 5d9e2bc67..07eaa02a0 100644
--- a/mod/linkinfo.php
+++ b/mod/linkinfo.php
@@ -115,7 +115,7 @@ function linkinfo_content(&$a) {
// If this is a Red site, use zrl rather than url so they get zids sent to them by default
- if( x($siteinfo,'generator') && (strpos($siteinfo['generator'], get_platform_name() . ' ') === 0))
+ if( x($siteinfo,'generator') && (strpos($siteinfo['generator'], Zotlabs\Project\System::get_platform_name() . ' ') === 0))
$template = str_replace('url','zrl',$template);
if($siteinfo["title"] == "") {