mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Fix installer not generating tmp directory directive This fixes a usecase when open_basedir is set, not allowing php to write to default temp directory /tmp. In that case, temp directory is set by `php_admin_value[sys_temp_dir] = /var/www/site/tmp` Without setting config['temp_dir'] in generated config.php, LibreNMS will use /tmp regardless of what is set in fpm configuration. * is_writeable and is_writable are both valid, but let's stay consistent * Make $config['temp_dir'] non static * Remove $config['temp_dir'] from standard config.php * Make sys_get_temp_dir() fallback to '/tmp' * Update defaults.inc.php * Update install.php * Update Config.php * Update defaults.inc.php * Update defaults.inc.php