24if (!defined(
"NOLOGIN")) {
25 define(
"NOLOGIN",
'1');
27if (!defined(
'NOIPCHECK')) {
28 define(
'NOIPCHECK',
'1');
30if (!defined(
'NOBROWSERNOTIF')) {
31 define(
'NOBROWSERNOTIF',
'1');
35require
'../../main.inc.php';
41$_SESSION[
"basiclayout"] = 1;
42$_SESSION[
"takeposterminal"] =
getDolGlobalInt(
'TAKEPOS_TERMINAL_NB_FOR_PUBLIC', 1);
44define(
'INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE', 1);
45if (GETPOSTISSET(
"mobilepage")) {
46 require DOL_URL_ROOT.
'/takepos/invoice.php';
47} elseif (GETPOSTISSET(
"genimg")) {
48 require DOL_DOCUMENT_ROOT.
'/takepos/genimg/index.php';
50 require DOL_URL_ROOT.
'/takepos/phone.php';
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return a 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.