Skip to content

Commit

Permalink
fix: class should not be accessed directly
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed May 26, 2020
1 parent 0a0441a commit 480a8fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inc/conditionnable.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
* ---------------------------------------------------------------------
*/

if (!defined('GLPI_ROOT')) {
die("Sorry. You can't access this file directly");
}

trait PluginFormcreatorConditionnable
{
public function updateConditions($input) {
Expand Down

0 comments on commit 480a8fa

Please sign in to comment.