Fix missing CSS includes

This commit is contained in:
nathangray 2017-08-15 12:53:39 -06:00
parent d5831a4229
commit 72f3dc394b

View File

@ -152,7 +152,7 @@ class CssIncludes
$matches = null;
list($file) = explode('?',$path,2);
if (($to_check = file_get_contents (EGW_SERVER_ROOT.$file, false, null, -1, 1024)) &&
if (($to_check = file_get_contents (EGW_SERVER_ROOT.$file, false, null, 0, 1024)) &&
stripos($to_check, '/*@import') !== false && preg_match_all('|/\*@import url\("([^"]+)"|i', $to_check, $matches))
{
foreach($matches[1] as $import_path)