This repository was archived by the owner on Nov 27, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +2
-29
lines changed Expand file tree Collapse file tree 9 files changed +2
-29
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,6 @@ It comes pre-configured with the following bundles:
41
41
42
42
* [ ** MonologBundle** ] [ 11 ] - Adds support for Monolog, a logging library
43
43
44
- * [ ** AsseticBundle** ] [ 12 ] - Adds support for Assetic, an asset processing
45
- library
46
-
47
44
* ** WebProfilerBundle** (in dev/test env) - Adds profiling functionality and
48
45
the web debug toolbar
49
46
68
65
[ 9 ] : https://symfony.com/doc/3.0/book/security.html
69
66
[ 10 ] : https://symfony.com/doc/3.0/cookbook/email.html
70
67
[ 11 ] : https://symfony.com/doc/3.0/cookbook/logging/monolog.html
71
- [ 12 ] : https://symfony.com/doc/3.0/cookbook/assetic/asset_management.html
72
68
[ 13 ] : https://symfony.com/doc/3.0/bundles/SensioGeneratorBundle/index.html
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- require_once __DIR__ .'/AppKernel.php ' ;
4
-
5
3
use Symfony \Bundle \FrameworkBundle \HttpCache \HttpCache ;
6
4
7
5
class AppCache extends HttpCache
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ public function registerBundles()
13
13
new Symfony \Bundle \TwigBundle \TwigBundle (),
14
14
new Symfony \Bundle \MonologBundle \MonologBundle (),
15
15
new Symfony \Bundle \SwiftmailerBundle \SwiftmailerBundle (),
16
- new Symfony \Bundle \AsseticBundle \AsseticBundle (),
17
16
new Doctrine \Bundle \DoctrineBundle \DoctrineBundle (),
18
17
new Sensio \Bundle \FrameworkExtraBundle \SensioFrameworkExtraBundle (),
19
18
new AppBundle \AppBundle (),
Original file line number Diff line number Diff line change 38
38
debug : " %kernel.debug%"
39
39
strict_variables : " %kernel.debug%"
40
40
41
- # Assetic Configuration
42
- assetic :
43
- debug : " %kernel.debug%"
44
- use_controller : false
45
- bundles : [ ]
46
- # java: /usr/bin/java
47
- filters :
48
- cssrewrite : ~
49
- # closure:
50
- # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
51
- # yui_css:
52
- # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
53
-
54
41
# Doctrine Configuration
55
42
doctrine :
56
43
dbal :
Original file line number Diff line number Diff line change @@ -41,8 +41,5 @@ monolog:
41
41
# type: chromephp
42
42
# level: info
43
43
44
- assetic :
45
- use_controller : true
46
-
47
44
# swiftmailer:
48
45
# delivery_address: me@example.com
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ set_time_limit(0);
15
15
* @var Composer\Autoload\ClassLoader $loader
16
16
*/
17
17
$ loader = require __DIR__ .'/../app/autoload.php ' ;
18
- require_once __DIR__ .'/../app/AppKernel.php ' ;
19
18
20
19
$ input = new ArgvInput ();
21
20
$ env = $ input ->getParameterOption (array ('--env ' , '-e ' ), getenv ('SYMFONY_ENV ' ) ?: 'dev ' );
Original file line number Diff line number Diff line change 4
4
"type" : " project" ,
5
5
"description" : " The \" Symfony Standard Edition\" distribution" ,
6
6
"autoload" : {
7
- "psr-4" : { "" : " src/" }
7
+ "psr-4" : { "" : " src/" },
8
+ "files" : [ " app/AppKernel.php" ]
8
9
},
9
10
"autoload-dev" : {
10
11
"psr-4" : { "Tests\\ " : " tests/" }
14
15
"symfony/symfony" : " 3.0.x-dev" ,
15
16
"doctrine/orm" : " ^2.4.8" ,
16
17
"doctrine/doctrine-bundle" : " ~1.4" ,
17
- "symfony/assetic-bundle" : " ~2.3" ,
18
18
"symfony/swiftmailer-bundle" : " ~2.3" ,
19
19
"symfony/monolog-bundle" : " ~2.7@dev" ,
20
20
"sensio/distribution-bundle" : " ~5.0@dev" ,
Original file line number Diff line number Diff line change 18
18
$apcLoader->register(true);
19
19
*/
20
20
21
- require_once __DIR__ .'/../app/AppKernel.php ' ;
22
21
//require_once __DIR__.'/../app/AppCache.php';
23
22
24
23
$ kernel = new AppKernel ('prod ' , false );
Original file line number Diff line number Diff line change 24
24
$ loader = require __DIR__ .'/../app/autoload.php ' ;
25
25
Debug::enable ();
26
26
27
- require_once __DIR__ .'/../app/AppKernel.php ' ;
28
-
29
27
$ kernel = new AppKernel ('dev ' , true );
30
28
$ kernel ->loadClassCache ();
31
29
$ request = Request::createFromGlobals ();
You can’t perform that action at this time.
0 commit comments