[MODULES] Rename extensions to modules, add example plugin, change plugin location

This commit is contained in:
Hugo Sales
2020-03-28 14:39:48 +00:00
committed by Hugo Sales
parent 596009c924
commit 0c79dfc67b
8 changed files with 47 additions and 21 deletions

View File

@@ -49,21 +49,21 @@ class Kernel extends BaseKernel
{
parent::__construct($environment, $debug);
if (!\defined('INSTALLDIR')) {
if (!defined('INSTALLDIR')) {
define('INSTALLDIR', dirname(__DIR__));
define('SRCDIR', INSTALLDIR . '/src');
define('PUBLICDIR', INSTALLDIR . '/public');
define('GNUSOCIAL_ENGINE', 'GNU social');
define('GS_ENGINE_NAME', 'GNU social');
// MERGE Change to https://gnu.io/social/
define('GNUSOCIAL_ENGINE_URL', 'https://gnusocial.network/');
define('GS_PROJECT_URL', 'https://gnusocial.network/');
// MERGE Change to https://git.gnu.io/gnu/gnu-social
define('GNUSOCIAL_ENGINE_REPO_URL', 'https://notabug.org/diogo/gnu-social/');
define('GS_REPOSITORY_URL', 'https://notabug.org/diogo/gnu-social/');
// Current base version, major.minor.patch
define('GNUSOCIAL_BASE_VERSION', '3.0.0');
define('GS_BASE_VERSION', '3.0.0');
// 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
define('GNUSOCIAL_LIFECYCLE', 'dev');
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
define('GNUSOCIAL_CODENAME', 'Big bang');
define('GS_LIFECYCLE', 'dev');
define('GS_VERSION', GS_BASE_VERSION . '-' . GS_LIFECYCLE);
define('GS_CODENAME', 'Big bang');
// Work internally in UTC
date_default_timezone_set('UTC');