Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Issues #25

Open
theZizoo opened this issue Feb 21, 2013 · 1 comment
Open

Configuration Issues #25

theZizoo opened this issue Feb 21, 2013 · 1 comment

Comments

@theZizoo
Copy link

I changed the parameter for: file_uploader.originals

However, FileManger->getFiles() does not return the files now because 'originals' is hardcoded in FileManager.php:

$dirs = glob("$folder/originals/*");

Also, uploading stops working if I do not have at least one option for file_uploader.sizes:

file_uploader.sizes: ~

I am quite new to Symfony 2, so it is possible I am missing something.

Any help would be greatly appreciated.

@christian-kolb
Copy link

I had the same problem. It's because those aren't parameters for the config.yml but the properties.yml. You have to set them there, than it works.

I would like to see them in the config.yml, as they (especially the size parameters) aren't really a thing you have to change for each installation. You could still put them into the properties file, when using variables in the config.yml. But I would really like to see them in the config.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants