|
@@ -73,7 +73,7 @@ class Route_UrlAction_Ant extends Route_Ant {// @doc @see Route_Ant
|
|
|
DBG::log([ 'msg'=>'$outputFunctionUrl', '$outputFunctionUrl'=>$outputFunctionUrl]);
|
|
DBG::log([ 'msg'=>'$outputFunctionUrl', '$outputFunctionUrl'=>$outputFunctionUrl]);
|
|
|
$testUrl = Request::getPathUri() . "wfs-data.php/default_db/?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=".$typeName."&SRSNAME=EPSG:3003&featureID={$objectName}.{$primaryKey}";
|
|
$testUrl = Request::getPathUri() . "wfs-data.php/default_db/?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=".$typeName."&SRSNAME=EPSG:3003&featureID={$objectName}.{$primaryKey}";
|
|
|
$cryptedPass = base64_encode(User::getLogin() . ":" . Crypt::decrypt($_SESSION['ADM_PASS_HASH']));
|
|
$cryptedPass = base64_encode(User::getLogin() . ":" . Crypt::decrypt($_SESSION['ADM_PASS_HASH']));
|
|
|
- $cmd = "cd {$this->pathUrlActions}{$path} && {$this->antBin} -S -DoutputFunctionUrl='{$outputFunctionUrl}' -DwebRootUrl='{$webRootUrl}' -Durl='{$testUrl}' -DpasswordBase64Basic='{$cryptedPass}' -Duuid='".session_id()."' -Dxpath=".$xpath." -Dxpath_value=".$primaryKey." 2>&1";
|
|
|
|
|
|
|
+ $cmd = "cd {$this->pathUrlActions}{$path} && {$this->antBin} -S -DoutputFunctionUrl='{$outputFunctionUrl}' -DwebRootUrl='{$webRootUrl}' -Durl='{$testUrl}' -DpasswordBase64Basic='{$cryptedPass}' -Duuid='".session_id()."' -Dxpath=".$xpath." -Dxpath_value=".$primaryKey." -DtypeName='".$typeName."' 2>&1";
|
|
|
DBG::log([ 'msg'=>"cmd", 'cmd'=>str_replace(APP_PATH_ROOT, 'SE', $cmd) ]);
|
|
DBG::log([ 'msg'=>"cmd", 'cmd'=>str_replace(APP_PATH_ROOT, 'SE', $cmd) ]);
|
|
|
V::exec($cmd, $out, $ret);
|
|
V::exec($cmd, $out, $ret);
|
|
|
DBG::log([ 'msg'=>"cmd and returns({$ret})", 'output'=>$out ]);
|
|
DBG::log([ 'msg'=>"cmd and returns({$ret})", 'output'=>$out ]);
|