Skip to content

Commit

Permalink
Do not include downstream file from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Nov 22, 2024
1 parent ad26d15 commit e3720e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/based_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
}

// Define constants values from downstream distribution file
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {
if (!defined('TU_USER') && file_exists(GLPI_ROOT . '/inc/downstream.php')) {
include_once(GLPI_ROOT . '/inc/downstream.php');
}

Expand Down

0 comments on commit e3720e6

Please sign in to comment.