summaryrefslogtreecommitdiff
path: root/vendor/illuminate/support/helpers.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/illuminate/support/helpers.php')
-rwxr-xr-xvendor/illuminate/support/helpers.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/illuminate/support/helpers.php b/vendor/illuminate/support/helpers.php
index 0741c4d202..41eb7c486b 100755
--- a/vendor/illuminate/support/helpers.php
+++ b/vendor/illuminate/support/helpers.php
@@ -662,6 +662,10 @@ if (! function_exists('env')) {
return;
}
+ if (preg_match('/([\'"])(.*)\1/', $value, $matches)) {
+ return $matches[2];
+ }
+
return $value;
})
->getOrCall(function () use ($default) {