Console: LXDebug-Einstellungen aus config/lx-erp-local.conf respektieren
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 1 Nov 2010 11:57:34 +0000 (12:57 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Dec 2010 09:34:40 +0000 (10:34 +0100)
scripts/console

index fd3ad84..5d928b5 100755 (executable)
@@ -59,11 +59,10 @@ sub lxinit {
     $::sendmail   = "| /usr/sbin/sendmail -t";
   }
 
-  $::lxdebug = LXDebug->new;
-
   eval { require "config/lx-erp.conf"; };
   eval { require "config/lx-erp-local.conf"; } if -f "config/lx-erp-local.conf";
 
+  $::lxdebug = LXDebug->new;
   $::locale = Locale->new($::language);
   $::cgi    = CGI->new qw();
   $::form   = Form->new;