Ok en fait dans votre exemple il manque une virgule dans le json
d'exemple, voici le bon :
{
"application": { "dsn": "mysql://root:root@localhost/temma",
"rootController": "ArticlesController" },
"loglevels": { "finebase": "ERROR", "temma": "WARN" },
"errorPages": { "500": "error500.html", "default": "error404.html" }
}
Mais j'ai toujours une erreur:
[28-Oct-2011 09:02:02] PHP Warning: Cannot modify header information
- headers already sent by (output started at /Applications/MAMP/htdocs/
temma/controllers/ArticlesController.php:1) in /Applications/MAMP/
htdocs/temma/lib/Temma/Framework.php on line 414
Merci