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:

SL/Dispatcher.pm
75 75
    require "config/lx-erp-local.conf";
76 76
  } if -f "config/lx-erp-local.conf";
77 77

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

  
78 81
  eval {
79 82
    package main;
80 83
    require "bin/mozilla/common.pl";
......
94 97
    $::form        = undef;
95 98
    %::myconfig    = ();
96 99
    %::called_subs = (); # currently used for recursion detection
97

  
98
    read_config 'config/lx_office.conf' => %::lx_office_conf if -f "config/lx_office.conf";
99
    _decode_recursively(\%::lx_office_conf);
100 100
  }
101 101

  
102 102
  $SIG{__WARN__} = sub {

Auch abrufbar als: Unified diff