Skip to content

Commit 48daa02

Browse files
author
pini-girit
committed
v3.1.0: Upgraded Cloudinary php SDK using composer in order to solve the strict transformations issue...
1 parent 82be545 commit 48daa02

File tree

106 files changed

+26580
-2009
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+26580
-2009
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
class Cloudinary_Cloudinary_Model_Observer_Autoload extends Mage_Core_Model_Abstract
4+
{
5+
/**
6+
* @param Varien_Event_Observer $event
7+
*/
8+
public function autoloadRegister(Varien_Event_Observer $event)
9+
{
10+
require_once(Mage::getBaseDir('lib') . DS . 'CloudinaryExtension' . DS . 'vendor' . DS. 'autoload.php');
11+
}
12+
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@
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>
95104
<catalog_product_save_after>
96105
<observers>
97106
<upload_images_to_cloudinary>

lib/Cloudinary/Api.php

Lines changed: 0 additions & 449 deletions
This file was deleted.

lib/Cloudinary/AuthToken.php

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)