We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d535ed commit 88e5590Copy full SHA for 88e5590
1 file changed
src/app.php
@@ -99,7 +99,7 @@ function data_replace(&$data) {
99
}
100
elseif (is_string($value) && $value[0] == '@') {
101
$file_path = 'file://' . realpath(get_asset_path(substr($value, 1), 'data'));
102
- if (($pathinfo = pathinfo($file_path)) && isset($pathinfo[‘extension’]) && $pathinfo['extension'] == 'yaml') {
+ if (($pathinfo = pathinfo($file_path)) && isset($pathinfo['extension']) && $pathinfo['extension'] == 'yaml') {
103
$data_replace_with = Yaml::parse(file_get_contents($file_path));
104
105
else {
0 commit comments