[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL

This commit is contained in:
Diogo Cordeiro
2019-11-21 00:21:22 +00:00
committed by Diogo Peralta Cordeiro
parent 7bd316b506
commit 165edc2609
110 changed files with 112 additions and 111 deletions

View File

@@ -34,7 +34,7 @@ defined('GNUSOCIAL') || die();
*/
class NodeinfoPlugin extends Plugin
{
const PLUGIN_VERSION = '2.0.0';
const PLUGIN_VERSION = '2.0.1';
public function onRouterInitialized($m): bool
{

View File

@@ -384,8 +384,8 @@ class Nodeinfo_2_0Action extends Action
$metadata = [
'nodeName' => common_config('site', 'name'),
'software' => [
'homepage' => 'https://gnu.social/',
'repository' => 'https://notabug.org/diogo/gnu-social',
'homepage' => GNUSOCIAL_ENGINE_URL,
'repository' => GNUSOCIAL_ENGINE_REPO_URL,
],
'uploadLimit' => common_get_preferred_php_upload_limit(),
'postFormats' => [