Modified database.php to fix syntax error in condition

This commit is contained in:
Peio Rigaux 2020-01-23 14:11:30 +01:00
parent d6e2ef7f9e
commit 804ba97924
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 16
%define build_number 17
#%if %{build_number}
#%define build_number_ext -%{build_number}
#%endif

View file

@ -30,7 +30,7 @@ class Database
try {
if(!empty(DB_ENABLE_SSL) && !empty(ROOT_CA_PATH)){
if(!file_exists ( string ROOT_CA_PATH )){
if(!file_exists (ROOT_CA_PATH)){
Logger::getInstance()->error("MySQL connection error: the provided ROOT_CA_PATH does not exists!");
}
else{