Clean code
This commit is contained in:
parent
2d784f3008
commit
a22a83827a
@ -24,3 +24,4 @@
|
||||
require '../../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
@ -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()
|
||||
*/
|
||||
|
||||
@ -24,3 +24,4 @@
|
||||
require '../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
@ -24,3 +24,4 @@
|
||||
require '../../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
@ -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')) {
|
||||
|
||||
@ -24,3 +24,4 @@
|
||||
require '../../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
@ -24,3 +24,4 @@
|
||||
require '../../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
@ -25,3 +25,4 @@
|
||||
require '../../../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
@ -25,3 +25,4 @@
|
||||
require '../../master.inc.php';
|
||||
|
||||
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
|
||||
exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user