Change to PHP Default tmp Path for checking DB changes on update. This prevents data being written to a common /tmp path on shared hosting environments

This commit is contained in:
johnnyq
2022-03-27 14:54:13 -04:00
parent 974cac0e86
commit ee97c479bf
2 changed files with 8 additions and 6 deletions

View File

@@ -15,8 +15,8 @@
<?php
$fmt = numfmt_create( 'us_EN', NumberFormatter::CURRENCY );
echo numfmt_format_currency($fmt, -199.99, "USD")."\n";
$temp_path = sys_get_temp_dir() . "/file.txt";
echo $temp_path."\n";
?>