Additional Tax : security
This commit is contained in:
parent
4a43961059
commit
88e513f74f
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue