X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/64035a1b2890a19fc9cd247c0eff2670ba09cb6b..088bf5a0:/lxo-import/addressB.php diff --git a/lxo-import/addressB.php b/lxo-import/addressB.php index df0cfc50e..53d674643 100644 --- a/lxo-import/addressB.php +++ b/lxo-import/addressB.php @@ -14,10 +14,15 @@ Web: http://lx-system.de require ("import_lib.php"); +function ende($txt) { + echo "Abbruch: $txt
"; + exit(1); +} + if (!$_SESSION["db"]) { - $conffile="../config/authentication.pl"; + $conffile="../config/lx_office.conf"; if (!is_file($conffile)) { - ende("authentication.pl nicht gefunden oder unlesbar"); + ende("lx_office.conf nicht gefunden oder unlesbar"); } } @@ -44,10 +49,6 @@ $db=$_SESSION["db"]; //new myDB($login); $crm=checkCRM(); -function ende($txt) { - echo "Abbruch: $txt
"; - exit(1); -} $dir = "../users/"; clearstatcache (); //print_r($_FILES);