Skip to content

Commit 23447b4

Browse files
committed
fix: class should not be accessed directly
Signed-off-by: Thierry Bugier <[email protected]>
1 parent 0631ece commit 23447b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inc/conditionnable.class.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
* ---------------------------------------------------------------------
3030
*/
3131

32+
if (!defined('GLPI_ROOT')) {
33+
die("Sorry. You can't access this file directly");
34+
}
35+
3236
trait PluginFormcreatorConditionnable
3337
{
3438
public function updateConditions($input) {

0 commit comments

Comments
 (0)