Closed demianturner closed 11 years ago
if you try and send parameters to site exporter like
$cmd = "php /www/index.php --moduleName=siteexporter --managerName=siteexporter --action=runCollection --baseUrl=http://www.example.com --params=va1:val1::va2:val2";
the value of $req->get('params') gets erased. It works if you just send params as --param (remove s):
$cmd = "php /www/index.php --moduleName=siteexporter --managerName=siteexporter --action=runCollection --baseUrl=http://www.example.com --param=va1:val1::va2:val2";
$input->params = $req->get('param');
[demian] debugged this and works as expected, with params
if you try and send parameters to site exporter like
$cmd = "php /www/index.php --moduleName=siteexporter --managerName=siteexporter --action=runCollection --baseUrl=http://www.example.com --params=va1:val1::va2:val2";
the value of $req->get('params') gets erased. It works if you just send params as --param (remove s):
$cmd = "php /www/index.php --moduleName=siteexporter --managerName=siteexporter --action=runCollection --baseUrl=http://www.example.com --param=va1:val1::va2:val2";
$input->params = $req->get('param');