]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/console
Console: LXDebug-Einstellungen aus config/lx-erp-local.conf respektieren
[mfinanz.git] / scripts / console
index c374d22efbbb1be10a5d874b93eafbc353f7097a..5d928b5e5779759629d618187b447713a265f693 100755 (executable)
@@ -34,6 +34,7 @@ $repl->run;
 
 package Devel::REPL;
 
+use utf8;
 use CGI qw( -no_xhtml);
 use SL::Auth;
 use SL::Form;
@@ -58,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;
@@ -109,13 +109,13 @@ sub help {
 Spezielle Kommandos:
 
   help                - zeigt diese Hilfe an.
-  lxinit 'login'      - lädt das Lx-Office Environment für den User 'login'.
-  reload              - lädt modifizierte Module neu.
+  lxinit 'login'      - lädt das Lx-Office Environment für den User 'login'.
+  reload              - lädt modifizierte Module neu.
   pp DATA             - zeigt die Datenstruktur mit Data::Dumper an.
   quit                - beendet die Konsole
 
 EOL
-#  load   'module'     - läd das angegebene Modul, d.h. bin/mozilla/module.pl und SL/Module.pm.
+#  load   'module'     - läd das angegebene Modul, d.h. bin/mozilla/module.pl und SL/Module.pm.
 }
 
 sub pp {
@@ -190,6 +190,6 @@ See there for interesting options.
 
 =head1 AUTHOR
 
-  Sven Schöling <s.schoeling@linet-services.de>
+  Sven Schöling <s.schoeling@linet-services.de>
 
 =cut