What I want to do is quite simple: store data in a custom config file that I want to read later on.
I created my file something.yml that I put in the global
something.yml
Do not modify the index.php this is dirty!
Juste add this line to your app/frontend/config/frontendConfiguration.class.php
require_once($this->getConfigCache()->checkConfig('config/something.yml'));
(adapt with your own app name)