windows paths compatibility (#332)
This commit is contained in:
parent
b1a39aa098
commit
5a6e60eada
@ -32,7 +32,7 @@ class Serialization
|
||||
|
||||
public static function realpaths($file)
|
||||
{
|
||||
if ($file[0] !== '/') {
|
||||
if (($file[0] !== '/') && ($file[1] !== ':')) {
|
||||
$file = getcwd().'/'.$file;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user