Skip to content

Commit 04b6d9d

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 04b6d9d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
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: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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>

0 commit comments

Comments
 (0)