bugfix
git-svn-id: svn://svn.cccv.de/engel-system@257 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
2cef94af74
commit
890d7115ac
|
@ -47,6 +47,7 @@ if( isset($_POST["PentabarfUser"]) && isset($_POST["password"]) && isset($_POST[
|
||||||
echo "Update XCAL-File from Pentabarf..";
|
echo "Update XCAL-File from Pentabarf..";
|
||||||
if($PentabarfGetWith=="fsockopen")
|
if($PentabarfGetWith=="fsockopen")
|
||||||
{
|
{
|
||||||
|
|
||||||
//backup error messeges and delate
|
//backup error messeges and delate
|
||||||
$Backuperror_messages = $error_messages;
|
$Backuperror_messages = $error_messages;
|
||||||
$fp = fsockopen( "ssl://$PentabarfXMLhost", 443, $errno, $errstr, 30);
|
$fp = fsockopen( "ssl://$PentabarfXMLhost", 443, $errno, $errstr, 30);
|
||||||
|
@ -112,6 +113,8 @@ if( isset($_POST["PentabarfUser"]) && isset($_POST["password"]) && isset($_POST[
|
||||||
//user uns password in url einbauen
|
//user uns password in url einbauen
|
||||||
$FileNameIn = "https://". $_POST["PentabarfUser"]. ':'. $_POST["password"]. "@".
|
$FileNameIn = "https://". $_POST["PentabarfUser"]. ':'. $_POST["password"]. "@".
|
||||||
$PentabarfXMLhost. "/". $PentabarfXMLpath. $_POST["PentabarfURL"];
|
$PentabarfXMLhost. "/". $PentabarfXMLpath. $_POST["PentabarfURL"];
|
||||||
|
|
||||||
|
|
||||||
if( ($fileIn = fopen( $FileNameIn, "r")) != FALSE)
|
if( ($fileIn = fopen( $FileNameIn, "r")) != FALSE)
|
||||||
{
|
{
|
||||||
if( ($fileOut = fopen( "$Tempdir/engelXML", "w")) != FALSE)
|
if( ($fileOut = fopen( "$Tempdir/engelXML", "w")) != FALSE)
|
||||||
|
|
Loading…
Reference in New Issue