X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3a94f4d2dd9a835d4a7007e1b999ea00b3c4e1cd..088bf5a0:/lxo-import/contactB.php
diff --git a/lxo-import/contactB.php b/lxo-import/contactB.php
index 5dd8891e5..f0b286805 100644
--- a/lxo-import/contactB.php
+++ b/lxo-import/contactB.php
@@ -12,11 +12,18 @@ Web: http://lx-system.de
*/
if (!$_SESSION["db"]) {
- $conffile="../config/authentication.pl";
+ $conffile="../config/lx_office.conf";
if (!is_file($conffile)) {
ende(4);
}
}
+
+function ende($nr) {
+ echo "Abbruch: $nr\n";
+ exit($nr);
+}
+
+
require ("import_lib.php");
if (!anmelden()) ende(5);
@@ -41,10 +48,6 @@ if ($_POST["ok"]) {
}
$nun=time();
- function ende($nr) {
- echo "Abbruch: $nr\n";
- exit($nr);
- }
if ($_POST["ok"]=="Hilfe") {
echo "Importfelder:
";
echo "Feldname => Bedeutung
";