-
Notifications
You must be signed in to change notification settings - Fork 0
CakePHP Media Plugin (Based on DavidPersson/AD7six media plugin)
License
jorge-beltran-dev/media
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
xx xx xxxx xxx x xxx x x x x x x x x x x x x x xxxx xxx x x x Plugin for CakePHP Authors ------- See the AUTHORS file. Copyright & License ------------------- Media Plugin for CakePHP is Copyright (c) 2007-2010 David Persson if not otherwise stated. The code is distributed under the terms of the MIT License. For the full license text see the LICENSE file. Download -------- Tar: http://github.com/davidpersson/media/tarball/master Zip: http://github.com/davidpersson/media/zipball/master Installation ------------ Extract the downloaded archive. Move or copy the extracted directory davidpersson-media-[hash] to /path/to/your/app/plugins/media For more information please visit the media wiki at http://github.com/davidpersson/media/wikis HACE FALTA: Config/routes.php (Antes de CakePlugin::routes()) /** * Connect media types to media plugin */ Router::connect( '/:mediaType/*', array('plugin' => 'media', 'controller' => 'media', 'action' => 'serve'), //array('controller' => 'media', 'action' => 'serve'), array('mediaType' => '(aud|doc|gen|ico|img|txt|vid)') ); Config/bootstrap.php CakePlugin::loadAll(); Config/core.php Configure::write('Mime.magic', array('db' => '/usr/share/file/magic')); Extensión fileinfo Extensión imagick
About
CakePHP Media Plugin (Based on DavidPersson/AD7six media plugin)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published