mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2023-06-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that would cause 'failed to load translation file' warnings to be sent to the Apache error log. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -49,7 +49,8 @@ Xport::Xport(QObject *parent)
|
||||
//
|
||||
// Open the Database
|
||||
//
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("rdxport.cgi","rdxport.cgi",RDXPORT_CGI_USAGE,this));
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("rdxport.cgi",
|
||||
"rdxport.cgi",RDXPORT_CGI_USAGE,false,this));
|
||||
if(!rda->open(&err_msg,NULL,false)) {
|
||||
printf("Content-type: text/html\n");
|
||||
printf("Status: 500\n");
|
||||
|
@@ -50,7 +50,8 @@ MainObject::MainObject(QObject *parent)
|
||||
//
|
||||
// Open the Database
|
||||
//
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("webget.cgi","webget.cgi",WEBGET_CGI_USAGE,this));
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("webget.cgi",
|
||||
"webget.cgi",WEBGET_CGI_USAGE,false,this));
|
||||
if(!rda->open(&err_msg,NULL,true)) {
|
||||
TextExit(err_msg,500,LINE_NUMBER);
|
||||
}
|
||||
|
Reference in New Issue
Block a user