Upgrade to 3.1.3
This commit is contained in:
@@ -82,6 +82,11 @@ class PHP extends Handler
|
||||
$php = static::encode($data);
|
||||
$php = "<?php\n\nreturn $php;";
|
||||
|
||||
return F::write($file, $php);
|
||||
if (F::write($file, $php) === true) {
|
||||
F::invalidateOpcodeCache($file);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@@ -56,6 +56,8 @@ class Yaml extends Handler
|
||||
return $yaml;
|
||||
}
|
||||
|
||||
// remove bom
|
||||
$yaml = str_replace("\xEF\xBB\xBF", '', $yaml);
|
||||
$result = Spyc::YAMLLoadString($yaml);
|
||||
|
||||
if (is_array($result)) {
|
||||
|
Reference in New Issue
Block a user