diff options
author | redmatrix <git@macgirvin.com> | 2016-02-18 15:24:58 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-02-18 15:24:58 -0800 |
commit | 342fda94e4162634eeb67c18c1d284e7d78f217f (patch) | |
tree | 8171ce097a62ddf6de743a4ec25b2dd9ae3ccc41 /mod/linkinfo.php | |
parent | c107bcfbd972a900cfd81b217014f7d4915fd73d (diff) | |
download | volse-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.php | 2 |
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"] == "") { |