Forráskód Böngészése

Added an extra parameter 'simulate'

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1089 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 éve
szülő
commit
38f4970f89
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      synchro/synchro_exec.php

+ 3 - 1
synchro/synchro_exec.php

@@ -101,7 +101,9 @@ else
 	LoginWebPage::DoLogin(); // Check user rights and prompt if needed
 
 	$oP = new WebPage(Dict::S("TitleSynchroExecution"));
-	$sDataSourcesList = utils::ReadParam('data_sources', null);
+	$sDataSourcesList = utils::ReadParam('data_sources', null, true);
+	$bSimulate = (utils::ReadParam('simulate', '0', true) == '1');
+	
 	if ($sDataSourcesList == null)
 	{
 		UsageAndExit($oP);