Skip to content

Commit 2a1a3b4

Browse files
committed
Initial commit
0 parents  commit 2a1a3b4

36 files changed

+3281
-0
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/app/bootstrap.php.cache
2+
/app/cache/*
3+
!app/cache/.gitkeep
4+
/app/config/parameters.yml
5+
/app/logs/*
6+
!app/logs/.gitkeep
7+
/app/phpunit.xml
8+
/bin/
9+
/composer.phar
10+
/vendor/
11+
/web/bundles/

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
symfony_issue_bot
2+
=================
3+
4+
A Symfony project created on June 28, 2015, 8:34 am.

app/.htaccess

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<IfModule mod_authz_core.c>
2+
Require all denied
3+
</IfModule>
4+
<IfModule !mod_authz_core.c>
5+
Order deny,allow
6+
Deny from all
7+
</IfModule>

app/AppCache.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
require_once __DIR__.'/AppKernel.php';
4+
5+
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
6+
7+
class AppCache extends HttpCache
8+
{
9+
}

app/AppKernel.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
3+
use Symfony\Component\HttpKernel\Kernel;
4+
use Symfony\Component\Config\Loader\LoaderInterface;
5+
6+
class AppKernel extends Kernel
7+
{
8+
public function registerBundles()
9+
{
10+
$bundles = array(
11+
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
12+
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
13+
new Symfony\Bundle\TwigBundle\TwigBundle(),
14+
new Symfony\Bundle\MonologBundle\MonologBundle(),
15+
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
16+
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
17+
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
18+
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
19+
new AppBundle\AppBundle(),
20+
);
21+
22+
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
23+
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
24+
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
25+
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
26+
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
27+
}
28+
29+
return $bundles;
30+
}
31+
32+
public function registerContainerConfiguration(LoaderInterface $loader)
33+
{
34+
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
35+
}
36+
}

app/Resources/views/base.html.twig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>{% block title %}Welcome!{% endblock %}</title>
6+
{% block stylesheets %}{% endblock %}
7+
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
8+
</head>
9+
<body>
10+
{% block body %}{% endblock %}
11+
{% block javascripts %}{% endblock %}
12+
</body>
13+
</html>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends 'base.html.twig' %}
2+
3+
{% block body %}
4+
Homepage.
5+
{% endblock %}

0 commit comments

Comments
 (0)