Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "webtechnick/cakephp-fileupload",
"description": "WebTechNick's file upload plugin.",
"type": "cakephp-plugin",
"keywords": ["cakephp", "upload", "webtecknick"],
"homepage": "https://github.com/webtechnick/CakePHP-FileUpload-Plugin",
"authors": [
{
"name": "WebTechNick",
"homepage": "http://www.webtechnick.com",
"role": "Author"
}
],
"extra": {
"installer-name": "FileUpload"
}
}
18 changes: 16 additions & 2 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,25 @@
* BLOG ARTICLE: <http://www.webtechnick.com/blogs/view/221/CakePHP_File_Upload_Plugin>

# INSTALL

## Git clone
clone into your `app/plugins/file_upload` directory

git clone git://github.com/webtechnick/CakePHP-FileUpload-Plugin.git app/plugins/file_upload

## Composer
Alternatively, use composer package management. Add the following to your composer.json file's repositories/require sections:

"repositories": [
{
"type": "vcs",
"url": "https://github.com/webtechnick/CakePHP-FileUpload-Plugin.git"
}
],
"require": {
"webtechnick/cakephp-fileupload": "dev-cakephp2.0"
}

And run `composer install`.

# CHANGELOG:
* 6.1.1: Fixed a bug that would not display an image if the source image is the same width as the resize image requested.
Expand Down Expand Up @@ -311,4 +325,4 @@ At any time you can remove a file by using the `$this->FileUpload->removeFile($n
}
}
}
?>
?>