From ca7a53badf76641c791542fbd37dfed689d4349a Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 15 Aug 2017 12:53:39 -0600 Subject: [PATCH] Fix missing CSS includes --- api/src/Framework/CssIncludes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Framework/CssIncludes.php b/api/src/Framework/CssIncludes.php index c01e6fec39..539af4d32d 100644 --- a/api/src/Framework/CssIncludes.php +++ b/api/src/Framework/CssIncludes.php @@ -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)