24 if (!defined(
"NOLOGIN")) {
25 define(
"NOLOGIN",
'1');
27 if (!defined(
'NOIPCHECK')) {
28 define(
'NOIPCHECK',
'1');
30 if (!defined(
'NOBROWSERNOTIF')) {
31 define(
'NOBROWSERNOTIF',
'1');
35 require
'../../main.inc.php';
41 $_SESSION[
"basiclayout"] = 1;
42 $_SESSION[
"takeposterminal"] =
getDolGlobalInt(
'TAKEPOS_TERMINAL_NB_FOR_PUBLIC', 1);
44 define(
'INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE', 1);
46 require
'../invoice.php';
48 require DOL_DOCUMENT_ROOT.
'/takepos/genimg/index.php';
50 require
'../phone.php';
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
GETPOSTISSET($paramname)
Return true if we are in a context of submitting the parameter $paramname from a POST of a form.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.