Browse Source

Switch TMP_PATH to DATA_PATH for the 0.7.1

See https://github.com/marienfressinaud/FreshRSS/issues/420#issuecomment-35423003
Marien Fressinaud 12 năm trước cách đây
mục cha
commit
04da549e2e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      constants.php

+ 2 - 1
constants.php

@@ -16,4 +16,5 @@ define('FRESHRSS_PATH', dirname(__FILE__));
 	define('LIB_PATH', FRESHRSS_PATH . '/lib');
 		define('APP_PATH', FRESHRSS_PATH . '/app');
 
-define('TMP_PATH', sys_get_temp_dir());
+//define('TMP_PATH', sys_get_temp_dir());  // need more tests so...
+define('TMP_PATH', DATA_PATH);  // ... we use DATA_PATH for the 0.7.1