Fix error message
This commit is contained in:
parent
dd60720299
commit
1977cac44a
@ -27,7 +27,7 @@ require_once '../../main.inc.php';
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
||||||
|
|
||||||
if ($dolibarr_main_prod) {
|
if ($dolibarr_main_prod) {
|
||||||
accessforbidden();
|
accessforbidden('Access forbidden when $dolibarr_main_prod is set to 1');
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -26,7 +26,7 @@ if (!defined("NOLOGIN")) {
|
|||||||
require '../../main.inc.php';
|
require '../../main.inc.php';
|
||||||
|
|
||||||
if ($dolibarr_main_prod) {
|
if ($dolibarr_main_prod) {
|
||||||
accessforbidden();
|
accessforbidden('Access forbidden when $dolibarr_main_prod is set to 1');
|
||||||
}
|
}
|
||||||
|
|
||||||
$usedolheader = 1; // 1 = Test inside a dolibarr page, 0 = Use hard coded header
|
$usedolheader = 1; // 1 = Test inside a dolibarr page, 0 = Use hard coded header
|
||||||
|
|||||||
@ -54,7 +54,7 @@ require '../../main.inc.php';
|
|||||||
|
|
||||||
// Security
|
// Security
|
||||||
if ($dolibarr_main_prod) {
|
if ($dolibarr_main_prod) {
|
||||||
accessforbidden();
|
accessforbidden('Access forbidden when $dolibarr_main_prod is set to 1');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ require '../../main.inc.php';
|
|||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
||||||
|
|
||||||
if ($dolibarr_main_prod) {
|
if ($dolibarr_main_prod) {
|
||||||
accessforbidden();
|
accessforbidden('Access forbidden when $dolibarr_main_prod is set to 1');
|
||||||
}
|
}
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user