Files
librenms-librenms/html
Orsiris de Jong ccf2d9a5c5 Use PHP sys_temp_dir by default (#10428)
* 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
2019-08-22 18:08:42 +01:00
..
2018-12-16 21:18:17 +00:00
2019-06-23 00:29:12 -05:00
2019-06-23 00:29:12 -05:00
2018-10-23 22:29:45 +01:00
2019-06-23 00:29:12 -05:00
2019-06-26 08:49:04 -05:00
2018-05-09 08:05:17 -05:00