FIX avoid spaces in file name

This commit is contained in:
Regis Houssin 2020-10-13 14:46:17 +02:00
parent 85f15b5f69
commit 1348c03ca0

View File

@ -265,8 +265,8 @@ $db->close();
*/
function getActivatedExtensions()
{
$file = getConfigFilePath();
$handle = fopen(GetConfigFilePath(), "r");
$file = trim(getConfigFilePath());
$handle = fopen($file, "r");
$content = fread($handle, filesize($file));
fclose($handle);