Test CI
This commit is contained in:
parent
1ccd0e2e30
commit
db379ee40d
2 changed files with 3 additions and 3 deletions
2
.github/workflows/php-mysql.yml
vendored
2
.github/workflows/php-mysql.yml
vendored
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
echo '$'dolibarr_main_db_pass=\'password\'';' >> $CONF_FILE
|
||||
echo '$'dolibarr_main_instance_unique_id=\'travis1234567890\'';' >> $CONF_FILE
|
||||
echo '$'dolibarr_main_db_type=\'mysqli\'';' >> $CONF_FILE
|
||||
echo '$'dolibarr_main_db_port=\'3306\'';' >> $CONF_FILE
|
||||
echo '$'dolibarr_main_db_port=\'32574\'';' >> $CONF_FILE
|
||||
echo '$'dolibarr_main_authentication=\'dolibarr\'';' >> $CONF_FILE
|
||||
cat $CONF_FILE
|
||||
- name: Generate install.forced.php file to test installation
|
||||
|
|
|
|||
|
|
@ -5213,8 +5213,8 @@ function dol_print_error($db = '', $error = '', $errors = null)
|
|||
if (function_exists('top_httphead')) { // In CLI context, the method does not exists
|
||||
top_httphead();
|
||||
}
|
||||
//http_response_code(500);
|
||||
http_response_code(202);
|
||||
//http_response_code(500); // If we use 500, message is not ouput with some command line tools
|
||||
http_response_code(202); // If we use 202, this is not really an error message, but this allow to ouput message on command line tools
|
||||
}
|
||||
|
||||
if (empty($dolibarr_main_prod)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue