[otrs-cvs] CVS: otrs/Kernel/Config Defaults.pm,1.236,1.237
cvs-log at otrs.org
cvs-log at otrs.org
Tue Jul 4 15:36:57 CEST 2006
Update of /home/cvs/otrs/Kernel/Config
In directory lancelot:/tmp/cvs-serv20058
Modified Files:
Defaults.pm
Log Message:
Die if RELEASE file does not exist or isn't readable, because many system parts won't work without this file
Index: Defaults.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Config/Defaults.pm,v
retrieving revision 1.236
retrieving revision 1.237
diff -C2 -r1.236 -r1.237
*** Defaults.pm 24 Jun 2006 15:20:31 -0000 1.236
--- Defaults.pm 4 Jul 2006 12:36:55 -0000 1.237
***************
*** 1695,1705 ****
}
else {
! print STDERR "ERROR: Can't read $Self->{Home}/RELEASE: $!\n";
}
}
else {
! print STDERR "ERROR: $Self->{Home}/RELEASE does not exist, using defaults!\n";
! $Self->{Product} = 'OTRS';
! $Self->{Version} = '(unknown)';
}
# load config (again)
--- 1695,1705 ----
}
else {
! print STDERR "ERROR: Can't read $Self->{Home}/RELEASE: $! This file is needed by central system parts of OTRS, the system will not work without this file.\n";
! die;
}
}
else {
! print STDERR "ERROR: $Self->{Home}/RELEASE does not exist! This file is needed by central system parts of OTRS, the system will not work without this file.\n";
! die;
}
# load config (again)
More information about the cvs-log
mailing list