Explorar o código

Compiler: when creating a test environment, take the relevant delta file (source env != dest env)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2832 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=11) %!d(string=hai) anos
pai
achega
c7d02b5368
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      setup/runtimeenv.class.inc.php

+ 1 - 1
setup/runtimeenv.class.inc.php

@@ -316,7 +316,7 @@ class RunTimeEnvironment
 			}
 		}
 
-		$sDeltaFile = APPROOT.'data/'.$sSourceEnv.'.delta.xml';
+		$sDeltaFile = APPROOT.'data/'.$this->sTargetEnv.'.delta.xml';
 		if (file_exists($sDeltaFile))
 		{
 			$oDelta = new MFDeltaModule($sDeltaFile);