From 912ca661cce0286946eabaac9bb4cde3314b6e13 Mon Sep 17 00:00:00 2001 From: Botanic Date: Fri, 18 Oct 2013 01:51:30 -0700 Subject: [PATCH] connection failure message if mysql conneciton fails --- code/ryzom/tools/server/admin/functions_mysql.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/server/admin/functions_mysql.php b/code/ryzom/tools/server/admin/functions_mysql.php index 6778bbeff..6c50eb997 100644 --- a/code/ryzom/tools/server/admin/functions_mysql.php +++ b/code/ryzom/tools/server/admin/functions_mysql.php @@ -69,7 +69,8 @@ class sql_db } else { - return false; + echo "Connection to mySQL failed!"; + exit; } }