🚑 add config & include
This commit is contained in:
parent
1c66e3db4a
commit
fcfb0bde14
@ -25,10 +25,12 @@ class CloudinaryPlugin extends Plugin
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
\Cloudinary::config([
|
\Cloudinary::config([
|
||||||
"cloud_name" => $this->config->get('plugins.cloudinary.license_key'),
|
"cloud_name" => $this->config->get('plugins.cloudinary.cloud_name'),
|
||||||
"api_key" => $this->config->get('plugins.cloudinary.license_key'),
|
"api_key" => $this->config->get('plugins.cloudinary.api_key'),
|
||||||
"api_secret" => $this->config->get('plugins.cloudinary.license_key'),
|
"api_secret" => $this->config->get('plugins.cloudinary.api_secret'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->enable([
|
$this->enable([
|
||||||
|
Loading…
Reference in New Issue
Block a user