Fix a filesize warning for provisioning using strlen instead.

This commit is contained in:
markjcrane
2016-04-28 15:06:16 -06:00
parent e97782fbee
commit 18df3effec

View File

@@ -373,7 +373,7 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0);
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . filesize($file_contents));
header('Content-Length: ' . strlen($file_contents));
}
else {
$cfg_ext = ".cfg";