@@ -7,15 +7,15 @@ Using `Composer <http://getcomposer.org/>`__
77`View on
88Packagist <https://packagist.org/packages/josegonzalez/cakephp-upload> `__,
99and copy the json snippet for the latest version into your project's
10- ``composer.json ``. Eg, v. 1.1.1 would look like this:
10+ ``composer.json ``. Eg, v. 1.3.0 would look like this:
1111
1212.. code :: json
1313
14- {
15- "require" : {
16- "josegonzalez/cakephp-upload" : " 1.1.1 "
17- }
18- }
14+ {
15+ "require" : {
16+ "josegonzalez/cakephp-upload" : " 1.3.0 "
17+ }
18+ }
1919
2020 This plugin has the type ``cakephp-plugin `` set in its own
2121``composer.json ``, composer knows to install it inside your ``/Plugins ``
@@ -39,9 +39,9 @@ In your *app directory* type:
3939
4040.. code :: bash
4141
42- git submodule add -b master git://github.com/josegonzalez/cakephp-upload.git Plugin/Upload
43- git submodule init
44- git submodule update
42+ git submodule add -b master git://github.com/josegonzalez/cakephp-upload.git Plugin/Upload
43+ git submodule init
44+ git submodule update
4545
4646 GIT Clone
4747~~~~~~~~~
@@ -50,7 +50,7 @@ In your ``Plugin`` directory type:
5050
5151.. code :: bash
5252
53- git clone -b master git://github.com/josegonzalez/cakephp-upload.git Upload
53+ git clone -b master git://github.com/josegonzalez/cakephp-upload.git Upload
5454
5555 Imagick Support
5656---------------
@@ -60,16 +60,16 @@ have Imagick installed:
6060
6161.. code :: bash
6262
63- # Debian systems
64- sudo apt-get install php-imagick
63+ # Debian systems
64+ sudo apt-get install php-imagick
6565
66- # OS X Homebrew
67- brew tap homebrew/dupes
68- brew tap josegonzalez/homebrew-php
69- brew install php54-imagick
66+ # OS X Homebrew
67+ brew tap homebrew/dupes
68+ brew tap josegonzalez/homebrew-php
69+ brew install php54-imagick
7070
71- # From pecl
72- pecl install imagick
71+ # From pecl
72+ pecl install imagick
7373
7474 If you cannot install Imagick, instead configure the plugin with
7575``'thumbnailMethod' => 'php' `` in the files options.
@@ -81,8 +81,8 @@ You need to enable the plugin your ``app/Config/bootstrap.php`` file:
8181
8282.. code :: php
8383
84- <?php
85- CakePlugin::load('Upload');
84+ <?php
85+ CakePlugin::load('Upload');
8686
8787 If you are already using ``CakePlugin::loadAll(); ``, then this is not
8888necessary.
0 commit comments