]> wagnertech.de Git - mfinanz.git/blobdiff - lxo-import/contactB.php
CSV-Import an neue Konfigurationsdatei angepasst. Bug-ID: 1632.
[mfinanz.git] / lxo-import / contactB.php
index 5dd8891e55b525cc3e713b6fca64983bf210b398..f0b286805c3b2d4d64f09d3b9727abdaf4c13cde 100644 (file)
@@ -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:<br>";
                echo "Feldname => Bedeutung<br>";