Remove the ugly hardcoded folders in documents
Add to config:
knp_gaufrette:
adapters:
local:
local:
directory: %kernel.root_dir%/../web/uploads/documents
filesystems:
integrated:
adapter: local
integrated_storage:
resolver:
integrated:
public: /uploads/documents
Add to composer.json:
"integrated/storage-bundle": "~0.4",
Add to AppKernel.php:
new Knp\Bundle\GaufretteBundle\KnpGaufretteBundle(),
new Integrated\Bundle\StorageBundle\IntegratedStorageBundle(),
SimpleResolver (you only give a public path) is a good idea.
Exception in error message, when you do not define a path: 0.5h
storage:filesystem:redistribute: 1h
storage:filesystem:clear command does not work: 30m
Localresolver: 15m
Datafixtures: 1h 30m
Plz make the storage object implement filelocaterinterface, to make it compatible with the image function of gregwar.
wrong one
fixtures are ready.
One minor issue about deprecated class