nickpro/cdn-bundle

Symfony2 bundle for file storage on local or remote cdn

dev-master 2016-01-28 15:12 UTC

This package is not auto-updated.

Last update: 2024-11-19 06:39:51 UTC


README

Put this in your configuration file

nickpro_cdn:
    default_storage: "image"
    schemas:
        local: "Nickpro\CdnBundle\Filemanager\Storage\\Local\Cdn"
    storages:
        image:
            schema: "local"
            upload_path: "%kernel.root_dir%/../web/uploads"
            upload_url: "http://your-site-name.net/uploads"