From 18df3effece787cb6e035a2d45c033c9110e5931 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Thu, 28 Apr 2016 15:06:16 -0600 Subject: [PATCH] Fix a filesize warning for provisioning using strlen instead. --- app/provision/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/provision/index.php b/app/provision/index.php index 22956c2bac..20ae71737b 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -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";