Explorar o código

Switch TMP_PATH to DATA_PATH for the 0.7.1

See https://github.com/marienfressinaud/FreshRSS/issues/420#issuecomment-35423003
Marien Fressinaud %!s(int64=12) %!d(string=hai) anos
pai
achega
04da549e2e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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