diff --git a/inc/conditionnable.class.php b/inc/conditionnable.class.php index 78ff73541..4c5f9e170 100644 --- a/inc/conditionnable.class.php +++ b/inc/conditionnable.class.php @@ -29,6 +29,10 @@ * --------------------------------------------------------------------- */ +if (!defined('GLPI_ROOT')) { + die("Sorry. You can't access this file directly"); +} + trait PluginFormcreatorConditionnable { public function updateConditions($input) {