Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-jpb authored Nov 8, 2024
1 parent 27d6f7d commit fe02bae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htdocs/api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@
$regmod = array();
if (is_readable($dir.$file) && preg_match("/^mod(.*)\.class\.php$/i", $file, $regmod)) {
$module = strtolower($regmod[1]);
//-- SPE SIGRENEA
// mesure de securité pour une intrusion possible par un utilisateur qui aurait

Check failure on line 231 in htdocs/api/index.php

View workflow job for this annotation

GitHub Actions / pre-commit

mesure ==> measure
// récuperer la clé api de l'utilisateur
// on restreint la visue aux seuls endpoints du module accessControl
if ($module != 'accesscontrol') continue;
//-- FIN SPE SIGRENEA
$moduledirforclass = getModuleDirForApiClass($module);
$modulenameforenabled = $module;
if ($module == 'propale') {
Expand Down

0 comments on commit fe02bae

Please sign in to comment.