Update ajax.php
This commit is contained in:
parent
7dbde6f934
commit
d911f13ca0
@ -33,20 +33,9 @@ if (!defined('NOREQUIREAJAX')) {
|
|||||||
if (!defined('NOREQUIRESOC')) {
|
if (!defined('NOREQUIRESOC')) {
|
||||||
define('NOREQUIRESOC', '1');
|
define('NOREQUIRESOC', '1');
|
||||||
}
|
}
|
||||||
if (!defined('NOCSRFCHECK')) {
|
|
||||||
define('NOCSRFCHECK', '1');
|
|
||||||
}
|
|
||||||
// Do not check anti CSRF attack test
|
|
||||||
if (!defined('NOREQUIREMENU')) {
|
if (!defined('NOREQUIREMENU')) {
|
||||||
define('NOREQUIREMENU', '1');
|
define('NOREQUIREMENU', '1');
|
||||||
}
|
}
|
||||||
// If there is no need to load and show top and left menu
|
|
||||||
if (!defined("NOLOGIN")) {
|
|
||||||
define("NOLOGIN", '1');
|
|
||||||
}
|
|
||||||
if (!defined('NOIPCHECK')) {
|
|
||||||
define('NOIPCHECK', '1'); // Do not check IP defined into conf $dolibarr_main_restrict_ip
|
|
||||||
}
|
|
||||||
if (!defined('NOBROWSERNOTIF')) {
|
if (!defined('NOBROWSERNOTIF')) {
|
||||||
define('NOBROWSERNOTIF', '1');
|
define('NOBROWSERNOTIF', '1');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user