clarkwinkelmann
I have 2 questions:
1.When flarum is installed, the default folder is called 'public' and this is the default code:
return Flarum\Foundation\Site::fromPaths([
'base' => DIR,
'public' => DIR,
'storage' => DIR.'/storage',
]);
Shouldn't this be the correct code? :
return Flarum\Foundation\Site::fromPaths([
'base' => DIR,
'public' => DIR.'/public',
'storage' => DIR.'/storage',
]);
2.Accordly to this guide, is it possible leave the code without replace DIR ? like so :
return Flarum\Foundation\Site::fromPaths([
'base' => DIR.'/flarum',
'public' => DIR.'/public',
'storage' => DIR.'/flarum/storage',
]);