Bonjour,
depuis ce matin, Symfony ne génère plus les balises <link> ni <script> pour insérer ma css et mes scripts perso à ma page index.php ni my_app_dev.php.
Le fichier view.yml spécifie pourtant ces inclusions et surtout ça marchait encore très bien vendredi dernier... N'ayant pas touché aux fichiers de conf, je reste perplexe devant ce problème.
mon view.yml :
le <head> généré, même après un clear-cache...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 default: http_metas: content-type: text/html metas: title: Administration de Danae robots: index, follow description: symfony project keywords: symfony, project language: fr stylesheets: [base] javascripts: [layermenu, ufo, refer, forms, flux] has_layout: on layout: layout
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="title" content="Administration de Danae" /> <meta name="robots" content="index, follow" /> <meta name="description" content="symfony project" /> <meta name="keywords" content="symfony, project" /> <meta name="language" content="fr" /> <title>Administration de Danae</title> <LINK rel="shortcut icon" href="favicon.ico" /> <SCRIPT type="text/javascript"> /*<![CDATA[*/ <!-- browserName = navigator.appName; browserVer = parseInt(navigator.appVersion); var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4); if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else {version = "n2";} // Blurring links: function blurLink(theObject) { // if (msie4) {theObject.blur();} } // --> /*]]>*/ </SCRIPT> </HEAD>
Partager