Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ed7bfc4a

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID ed7bfc4a981d759e51e19a5fe639983554fc8fc9
  • Vorgänger a6da1852
  • Nachfolger beeb5c96

Globales Konfigurationsobjekt %::lx_office_conf möglichst früh anlegen

Unterschiede anzeigen:

scripts/console
68 68
  eval { require "config/lx-erp.conf"; };
69 69
  eval { require "config/lx-erp-local.conf"; } if -f "config/lx-erp-local.conf";
70 70

  
71
  read_config 'config/lx_office.conf' => %::lx_office_conf;
72
  SL::Dispatcher::_decode_recursively(\%::lx_office_conf);
73

  
71 74
  $::lxdebug = LXDebug->new;
72 75
  $::locale = Locale->new($::language);
73 76
  $::cgi    = CGI->new qw();
74 77
  $::form   = Form->new;
75 78
  $::auth   = SL::Auth->new;
76 79

  
77
  read_config 'config/lx_office.conf' => %::lx_office_conf;
78
  SL::Dispatcher::_decode_recursively(\%::lx_office_conf);
79

  
80 80
  die 'cannot reach auth db'               unless $::auth->session_tables_present;
81 81

  
82 82
  $::auth->restore_session;

Auch abrufbar als: Unified diff