Permalink
Browse files

Use data tmp directory

  • Loading branch information...
JustCarmen committed Dec 10, 2017
1 parent 07047fb commit 9b5eade33ae25760a5012585cf98a2be0ac8d1d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/FancyGendexClass.php
@@ -38,7 +38,7 @@ class FancyGendexClass extends FancyGendexModule {
protected function createGendex() {
// create GENDEX text file
$this->file = WT_ROOT . 'gendex.txt';
$this->tmpfile = WT_DATA_DIR . basename($this->file) . '.tmp';
$this->tmpfile = WT_DATA_DIR . 'tmp/' . basename($this->file) . '.tmp';
if (file_exists($this->file)) {
try {

0 comments on commit 9b5eade

Please sign in to comment.