[DATABASE][CONFIG] Loading defaults into database, doctrine static wrapper

This commit is contained in:
Hugo Sales
2020-05-14 21:55:04 +00:00
committed by Hugo Sales
parent 7718b167c3
commit 074797384d
5 changed files with 378 additions and 400 deletions

View File

@@ -31,6 +31,7 @@
namespace App\Controller;
use App\Core\GSEvent as Event;
use App\Util\Common;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class NetworkPublic extends AbstractController
@@ -39,6 +40,8 @@ class NetworkPublic extends AbstractController
{
Event::handle('Test', ['foobar']);
Common::config('url', 'shortener');
return $this->render('network/public.html.twig', []);
}
}