Warning: SplFileInfo::openFile fix core.php