<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Latest comments</title>
  <link rel="alternate" href="http://snippets.prendreuncafe.com/"></link>
  <id>http://snippets.prendreuncafe.com/</id>
  <updated>2009-09-08T16:45:48Z</updated>
  <author>
    <name>Symfony</name>
    <author_email>noreply@symfony-project.com</author_email>
  </author>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/32"></link>
  <updated>2009-09-08T16:45:48Z</updated>
  <id>32</id>
  <summary type="html">Merci pour ces infos
CROSS JOIN en doctrine ça exist ?</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/31"></link>
  <updated>2008-07-08T17:49:21Z</updated>
  <id>31</id>
  <summary type="html">note : pparemment le système de commentaire mange les underscores ;)</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/30"></link>
  <updated>2008-07-08T17:44:14Z</updated>
  <id>30</id>
  <summary type="html">Pourquoi ne pas utiliser plutôt la fonction d'auto-chargement de classes __autoload() qui est me semble-t-il plus performante ? (tests effectués sur mon serveur)

function __autoload( $class_name ) {
	require_once $sf_symfony_lib_dir . '/cache/' . $class_name . 'class.php';
}
</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/29"></link>
  <updated>2008-06-03T15:10:09Z</updated>
  <id>29</id>
  <summary type="html">C'est pour virer le @ du nom de la route</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/28"></link>
  <updated>2008-06-03T11:48:09Z</updated>
  <id>28</id>
  <summary type="html">Bonjour,

je vois pas le role de 

&lt;code&gt;
$route = substr($route, 1, strlen($route)) ;
&lt;/code&gt;

As tu des exemples d'appel de ce helper ?</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/27"></link>
  <updated>2008-05-26T09:39:31Z</updated>
  <id>27</id>
  <summary type="html">Merci pour cette astuce NiKo ;)</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/26"></link>
  <updated>2008-05-11T14:59:11Z</updated>
  <id>26</id>
  <summary type="html">Bien vu, c'est corrigé, merci :)</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/25"></link>
  <updated>2008-05-06T12:26:49Z</updated>
  <id>25</id>
  <summary type="html">Salut, 

si je ne me trompe pas, il y a une petite erreur dans le nom de variable à la ligne 3 : il ne faut pas utiliser $sfProcessCache, mais bien la nouvelle instance qu'on vient de créer, $cache ...</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/24"></link>
  <updated>2007-10-09T15:47:28Z</updated>
  <id>24</id>
  <summary type="html">j'ai fait une erreur dans la rédaction de mon précédant commentaire...
Si on veux garder la phylosophie apache2 : on place le fichier dans le dossier /etc/apache2/sites-available/ et on utilise la commande
# a2ensite nom-du-fichier.conf
Si on balance la commande sans paramètre, une liste des fichiers pouvant être activés est affichée et un prompt demande de saisir le fichier.

Bien penser à demander à apache de prendre en compte la config avec la commande
# /etc/init.d/apache2 reload

</summary>
</entry>
<entry>
  <title></title>
  <link href="http://snippets.prendreuncafe.com/snippet/comment/23"></link>
  <updated>2007-10-09T15:45:05Z</updated>
  <id>23</id>
  <summary type="html">Si on veux garder la phylosophie apache2 : on place le fichier dans le dossier /etc/apache2/sites-available/ et on utilise la commande 
[code]# a2ensit nom-du-fichier.conf[/code]

Bien penser à demander à apache de prendre en compte la config avec la commande 
[code]# /etc/init.d/apache2 reload[/code]

</summary>
</entry>
</feed>