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:
Fred Gleason
2023-06-01 15:48:34 -04:00
parent ef6165184e
commit 210bb8bca7
59 changed files with 105 additions and 65 deletions

View File

@@ -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");

View File

@@ -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);
}