Skip to content

Commit cacf675

Browse files
author
pini-girit
committed
v3.1.2,CLOUDINARY-271: Added another event that autoload registering in order to support shell scripts and updated README
1 parent 03896ee commit cacf675

File tree

5 files changed

+7
-15
lines changed

5 files changed

+7
-15
lines changed

app/code/community/Cloudinary/Cloudinary/Helper/Autoloader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public function register()
1818
$this->_registerCloudinaryAutoloader();
1919
$this->_registerCloudinaryExtensionAutoloader();
2020
$this->_reregisterVarienAutoloaders();
21+
require_once(Mage::getBaseDir('lib') . DS . 'CloudinaryExtension' . DS . 'vendor' . DS. 'autoload.php');
2122
}
2223
}
2324

app/code/community/Cloudinary/Cloudinary/etc/config.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<config>
33
<modules>
44
<Cloudinary_Cloudinary>
5-
<version>3.1.0</version>
5+
<version>3.1.2</version>
66
</Cloudinary_Cloudinary>
77
</modules>
88

@@ -92,15 +92,6 @@
9292
</cloudinary_cloudinary>
9393
</helpers>
9494
<events>
95-
<controller_front_init_before>
96-
<observers>
97-
<cloudinary_autoloader>
98-
<type>singleton</type>
99-
<class>cloudinary_cloudinary/observer_autoload</class>
100-
<method>autoloadRegister</method>
101-
</cloudinary_autoloader>
102-
</observers>
103-
</controller_front_init_before>
10495
<catalog_product_save_after>
10596
<observers>
10697
<upload_images_to_cloudinary>
7 Bytes
Binary file not shown.

var/connect/Cloudinary_Cloudinary.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<_>
2-
<form_key>3koVpGc1HNOKsgdQ</form_key>
2+
<form_key>UPQSe5plXZBPcC8A</form_key>
33
<name>Cloudinary_Cloudinary</name>
44
<channel>community</channel>
55
<version_ids>
@@ -41,7 +41,7 @@
4141
<max/>
4242
</max>
4343
<files>
44-
<files> </files>
44+
<files> </files>
4545
</files>
4646
</package>
4747
<extension>

0 commit comments

Comments
 (0)