Commit 804ba979 authored by Peio Rigaux's avatar Peio Rigaux

Modified database.php to fix syntax error in condition

parent d6e2ef7f
Pipeline #11121 passed with stages
in 35 seconds
......@@ -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
......@@ -76,6 +76,6 @@ rm -rf $RPM_BUILD_ROOT
* Thu Jul 4 2019 Sylvain Berfini <sylvain.berfini@belledonne-communications.com>
- New files layout
* Fri Jun 28 2019 Johan Pascal <johan.pascal@belledonne-communications.com>
-
-
* Fri May 18 2018 Matthieu TANON <matthieu.tanon@belledonne-communications.com>
- Initial RPM release.
......@@ -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{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment