Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8cd05ad6

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID 8cd05ad64866ce200f888a35723ae4b7e24a2012
  • Vorgänger bd74780c
  • Nachfolger 61352a49

Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf verschoben

Unterschiede anzeigen:

SL/Dispatcher.pm
87 87
  # canonial globals. if it's not here, chances are it will get refactored someday.
88 88
  {
89 89
    no warnings 'once';
90
    $::userspath   = "users";
91
    $::templates   = "templates";
92
    $::memberfile  = "users/members";
93 90
    $::menufile    = "menu.ini";
94 91
    $::sendmail    = "| /usr/sbin/sendmail -t";
95 92
    $::lxdebug     = LXDebug->new;
......
193 190
    my $session_result = $::auth->restore_session;
194 191
    $::auth->create_or_refresh_session;
195 192

  
196
    $::form->error($::locale->text('System currently down for maintenance!')) if -e "$::userspath/nologin" && $script ne 'admin';
193
    $::form->error($::locale->text('System currently down for maintenance!')) if -e ($::lx_office_conf{paths}->{userspath} . "/nologin") && $script ne 'admin';
197 194

  
198 195
    if ($script eq 'login' or $script eq 'admin' or $script eq 'kopf') {
199 196
      $::form->{titlebar} = "Lx-Office " . $::locale->text('Version') . " $::form->{version}";

Auch abrufbar als: Unified diff