MINOR Supress warnings

This commit is contained in:
Sean Harvey 2010-05-10 23:47:58 +00:00
parent 7368561dc2
commit c69c3c212b

View File

@ -137,8 +137,8 @@ class CMSWorkflowSiteConfigDecorator extends DataObjectDecorator {
$file = self::get_config_file();
$content = null;
while(!feof($file)) {
$content .= fread($file, 10);
while(!@feof($file)) {
$content .= @fread($file, 10);
}
fclose($file);