Fix problems detected by travis-ci
This commit is contained in:
parent
dbd68027f8
commit
c9e70ed1c1
@ -42,7 +42,7 @@
|
|||||||
// Dolibarr environment
|
// Dolibarr environment
|
||||||
$path_dir = '../../';
|
$path_dir = '../../';
|
||||||
$main_inc_file = 'main.inc.php';
|
$main_inc_file = 'main.inc.php';
|
||||||
while ((false == @include($path_dir . $main_inc_file)) && 3*10 > strlen($path_dir)) {
|
while ((false == (@include $path_dir . $main_inc_file)) && 3*10 > strlen($path_dir)) {
|
||||||
$path_dir = '../' . $path_dir;
|
$path_dir = '../' . $path_dir;
|
||||||
if (strlen($path_dir) > 20) {
|
if (strlen($path_dir) > 20) {
|
||||||
echo 'Error: unable to include "' . $main_inc_file . '" from any of the parent directories.';
|
echo 'Error: unable to include "' . $main_inc_file . '" from any of the parent directories.';
|
||||||
@ -141,7 +141,6 @@ if ($resql_dispatch) {
|
|||||||
flush();
|
flush();
|
||||||
ob_flush();
|
ob_flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo 'Unable to find any dispatch without an fk_commandefourndet.' . "\n";
|
echo 'Unable to find any dispatch without an fk_commandefourndet.' . "\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user