From 4312b353dbb4b448d551975b63db9c95b3eef4f5 Mon Sep 17 00:00:00 2001 From: marwolaethblack Date: Wed, 22 Nov 2017 12:37:48 +0100 Subject: initial commit --- src/.htaccess | 7 +++++++ src/AppBundle/AppBundle.php | 9 +++++++++ src/AppBundle/Controller/DefaultController.php | 21 +++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 src/.htaccess create mode 100644 src/AppBundle/AppBundle.php create mode 100644 src/AppBundle/Controller/DefaultController.php (limited to 'src') diff --git a/src/.htaccess b/src/.htaccess new file mode 100644 index 0000000..fb1de45 --- /dev/null +++ b/src/.htaccess @@ -0,0 +1,7 @@ + + Require all denied + + + Order deny,allow + Deny from all + diff --git a/src/AppBundle/AppBundle.php b/src/AppBundle/AppBundle.php new file mode 100644 index 0000000..05123b6 --- /dev/null +++ b/src/AppBundle/AppBundle.php @@ -0,0 +1,9 @@ +render('default/index.html.twig', [ + 'base_dir' => realpath($this->getParameter('kernel.project_dir')).DIRECTORY_SEPARATOR, + ]); + } +} -- cgit v1.2.3