Additional Tax : security

This commit is contained in:
sparkyx 2022-05-31 12:55:27 +02:00
parent 4a43961059
commit 88e513f74f
2 changed files with 5 additions and 1 deletions

View file

@ -20,6 +20,7 @@
* @file * @file
* @brief manage the public.acc_other_tax * @brief manage the public.acc_other_tax
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
?> ?>
<div class="content"> <div class="content">
<?php <?php

View file

@ -18,7 +18,10 @@
* Copyright (2002-2022) Author Dany De Bontridder <danydb@noalyss.eu> * Copyright (2002-2022) Author Dany De Bontridder <danydb@noalyss.eu>
*/ */
global $g_user; global $g_user;
if ( $g_user->check_module("OTAX") == 0) die(); if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis');
if ( $g_user->check_module("OTAX") == 0) die("");
try { try {
$table=$http->request('table'); $table=$http->request('table');