X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=lxo-import%2FcontactB.php;h=f0b286805c3b2d4d64f09d3b9727abdaf4c13cde;hb=476b6d40310951004704374a3f248b35ef2ada3f;hp=5dd8891e55b525cc3e713b6fca64983bf210b398;hpb=5536f72295081df4c6b227855cfa22745fcc6039;p=kivitendo-erp.git
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
";