Hi Flarum Support, i am studing about extention, example Step-by-step creation of my Flarum Emoji extension and i am new reading the big documentation Flarum API Docs and have one question about Environment variables, for example how to Get the $FORUM_URL of installation flarum?
$forum_url = get_forum_link
or just define in the file php, for example:
for Discussion use:
use Flarum\Core\Discussion;
for User:
use Flarum\Core\User;
for forum_url: Any Help Please?
$forum_url = get from use Flarum\Core\Discussion
But know have a error, because the $forum_url =
its ready on the USE Environment variables... sorry i am lost, tomorrow continue studing!
any help... thanks in advance!