Clean code

This commit is contained in:
Laurent Destailleur 2023-05-11 01:46:36 +02:00
parent 2d784f3008
commit a22a83827a
10 changed files with 11 additions and 5 deletions

View File

@ -24,3 +24,4 @@
require '../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;

View File

@ -16,7 +16,7 @@
*/
/**
* \file htdocs/datapolicy/admin/setup.php
* \file htdocs/public/datapolicy/index.php
* \ingroup datapolicy
* \brief Page to show the result of updating it Data policiy preferences after an email campaign using sendMailDataPolicyContact()
*/

View File

@ -24,3 +24,4 @@
require '../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;

View File

@ -24,3 +24,4 @@
require '../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;

View File

@ -18,10 +18,9 @@
/**
* \file htdocs/public/notice.php
* \brief Dolibarr public page to show a notice.
* Default notice is a message to say network connection is off. Some parameters can be used to show another message.
* You can call this page with URL:
* /public/notice.php?lang=xx_XX&transkey=translation_key (key must be inside file main.lang, error.lang or other.lang)
* /public/notice.php?transphrase=url_encoded_sentence_to_show
* Default notice is a message to say network connection is off. Some parameters can be used to show another message:
* /public/notice.php?lang=xx_XX&transkey=translation_key (key must be inside file main.lang, error.lang or other.lang)
* /public/notice.php?transphrase=sentence_to_show
*/
if (!defined('NOLOGIN')) {

View File

@ -24,3 +24,4 @@
require '../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;

View File

@ -24,3 +24,4 @@
require '../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;

View File

@ -25,3 +25,4 @@
require '../../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;

View File

@ -25,3 +25,4 @@
require '../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
exit;