Просмотр исходного кода

removed old config file after migration

CauseFX 4 лет назад
Родитель
Сommit
4c944e63eb
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      api/classes/organizr.class.php

+ 1 - 0
api/classes/organizr.class.php

@@ -177,6 +177,7 @@ class Organizr
 			$this->makeDir(dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR);
 			if ($this->rcopy($oldUserConfigPath, $userConfigPath)) {
 				$this->userConfigPath = $userConfigPath;
+				@unlink($oldUserConfigPath);
 			} else {
 				$this->userConfigPath = $oldUserConfigPath;
 			}