[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/11: Harden security
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/11: Harden security |
Date: |
Wed, 31 Mar 2021 13:07:05 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit c8303e5f522eb5fb0dc060945404a26a14025113
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Mar 29 13:31:49 2021 +0200
Harden security
---
include/ajax/ajax_forecast.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/ajax/ajax_forecast.php b/include/ajax/ajax_forecast.php
index fc6f204..e048f3e 100644
--- a/include/ajax/ajax_forecast.php
+++ b/include/ajax/ajax_forecast.php
@@ -19,8 +19,12 @@
// Copyright Author Dany De Bontridder danydb@noalyss.eu
+if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
+
require_once NOALYSS_INCLUDE . "/database/forecast_sql.class.php";
+if ($g_user->check_module("FORECAST")==0) die();
+
$http = new HttpInput();
$input = $http->request("input");
$action = $http->request("ieaction", "string", "display");
- [Noalyss-commit] [noalyss] branch master updated (b00558e -> eba5413), Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 02/11: Harden security,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/11: calcy , bug position divide by 2 on certain circumstances, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 05/11: Esthestic Bug Forecast if there is no category do not show the save btn, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 06/11: 0001923: TAG : Date de paiement BALISE DATE_PAID, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 07/11: Task #0001928: Export ANC/ANCIMP/ANCHOP, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 08/11: Set version 9.0, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 09/11: Bug #1838 Souci décimales ventilation CA si automatique, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 04/11: Code #0001905: Champ pour Registre des Personnes Morales (RPM) Réécriture complete de COMPANY , ajout libres de paramètres, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 10/11: Improve #0001825: Détail opération : mise à jour date + logo 9, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 01/11: Task #0001735: Standardiser icone, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 11/11: Cosmetic, Dany De Bontridder, 2021/03/31