Jelajahi Sumber

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 tahun lalu
induk
melakukan
38f4970f89
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  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);