add config_dir variable to silex application