We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72ea53d + 1a3b77a commit b1aeb10Copy full SHA for b1aeb10
src/Cloudinary.php
@@ -28,7 +28,9 @@ public static function config_from_url($cloudinary_url) {
28
if ($cloudinary_url) {
29
$uri = parse_url($cloudinary_url);
30
$q_params = array();
31
- parse_str($uri["query"], $q_params);
+ if (isset($uri["query"])) {
32
+ parse_str($uri["query"], $q_params);
33
+ }
34
$config = array_merge($q_params, array(
35
"cloud_name" => $uri["host"],
36
"api_key" => $uri["user"],
0 commit comments