Provide Zotlabs\Project and System class for querying details about the project/version info. Move these out of /boot.php

This commit is contained in:
redmatrix
2016-02-18 15:24:58 -08:00
parent c107bcfbd9
commit 342fda94e4
16 changed files with 87 additions and 77 deletions

View File

@@ -189,7 +189,7 @@ function t($s, $ctx = '') {
function translate_projectname($s) {
return str_replace(array('$projectname','$Projectname'),array(get_platform_name(),ucfirst(get_platform_name())),$s);
return str_replace(array('$projectname','$Projectname'),array(Zotlabs\Project\System::get_platform_name(),ucfirst(Zotlabs\Project\System::get_platform_name())),$s);
}