Skip to content

Commit 344b9d0

Browse files
committed
inicio Projeto
0 parents  commit 344b9d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4736
-0
lines changed

Diff for: .gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/.web-server-pid
2+
/app/config/parameters.yml
3+
/build/
4+
/phpunit.xml
5+
/var/*
6+
!/var/cache
7+
/var/cache/*
8+
!var/cache/.gitkeep
9+
!/var/logs
10+
/var/logs/*
11+
!var/logs/.gitkeep
12+
!/var/sessions
13+
/var/sessions/*
14+
!var/sessions/.gitkeep
15+
!var/SymfonyRequirements.php
16+
/vendor/
17+
/web/bundles/

Diff for: .idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/inspectionProfiles/Project_Default.xml

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/inspectionProfiles/profiles_settings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/misc.xml

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/symfony_aqua_note.iml

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/workspace.xml

+146
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
symfony_aqua_note
2+
=================
3+
4+
A Symfony project created on October 23, 2017, 9:06 am.

Diff for: app/.htaccess

+7
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>

Diff for: app/AppCache.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
4+
5+
class AppCache extends HttpCache
6+
{
7+
}

Diff for: app/AppKernel.php

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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 = [
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 Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
17+
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
18+
new AppBundle\AppBundle(),
19+
];
20+
21+
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
22+
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
23+
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
24+
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
25+
26+
if ('dev' === $this->getEnvironment()) {
27+
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
28+
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
29+
}
30+
}
31+
32+
return $bundles;
33+
}
34+
35+
public function getRootDir()
36+
{
37+
return __DIR__;
38+
}
39+
40+
public function getCacheDir()
41+
{
42+
return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
43+
}
44+
45+
public function getLogDir()
46+
{
47+
return dirname(__DIR__).'/var/logs';
48+
}
49+
50+
public function registerContainerConfiguration(LoaderInterface $loader)
51+
{
52+
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
53+
}
54+
}

Diff for: app/Resources/views/base.html.twig

+13
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>

0 commit comments

Comments
 (0)