mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
display raw errors during install
This commit is contained in:
@@ -258,6 +258,12 @@ include(PHPWG_ROOT_PATH . 'admin/include/functions_upgrade.php');
|
||||
if (isset($_POST['install']))
|
||||
{
|
||||
install_db_connect($infos, $errors);
|
||||
|
||||
if (count($errors) > 0)
|
||||
{
|
||||
print_r($errors);
|
||||
}
|
||||
|
||||
pwg_db_check_charset();
|
||||
|
||||
$webmaster = trim(preg_replace('/\s{2,}/', ' ', $admin_name));
|
||||
|
||||
Reference in New Issue
Block a user