Alan Lam 8 лет назад
Родитель
Сommit
8242025004
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      controllers/performance_presentation.php

+ 1 - 1
controllers/performance_presentation.php

@@ -50,7 +50,7 @@ foreach($charts_b64 as $index => $b64) {
 
 	list($ignore, $png_b64) = explode("base64,", $b64);
 
-	$name = tempnam("/tmp", "ppt");
+	$name = tempnam("./", "ppt");
 	$handle = fopen($name, "w");
 	fwrite($handle, base64_decode($png_b64));