Closed DVeris closed 5 years ago
when i install package:
In IniParser.php line 94: File /.../system/modules/haste/config/autoload.ini cannot be decoded
when i change on:
$ini = parse_ini_string(file_get_contents($file));
no errors
parse_ini_file not works for me
sorry...
disable_functions exec,passthru,shell_exec,system,popen,curl_multi_exec,parse_ini_file,show_source
@aschempp should the Contao Manager may be check, if this function has been disabled?
possibly. But it is only required for legacy Contao 3 modules. We should probably check if a contao-module
package is installed.
Fixed in 8ae14647fcafc83ab1c5394aeb0f999c4a7f2f14
https://github.com/contao/manager-plugin/blob/841a378dce34a72ed5eb1056b784bca8e7f09abc/src/Bundle/Parser/IniParser.php#L91
$ini = parse_ini_string(file_get_contents($file));
more universal?