2
0

qrcode.php 356 B

123456789101112131415161718
  1. <?php
  2. session_start();
  3. require_once "../env.inc.php";
  4. require_once "../access.inc.php";
  5. require_once "../conf.inc.php";
  6. require_once DIR_PHP_LAYOUTS . "header.php";
  7. header ('Content-Type: image/png');
  8. if(core::ifGet("q")){
  9. $link = core::base64_url_decode(core::getGet("q"));
  10. } else {
  11. $link = "https://".DOMAIN_EVENTS;
  12. }
  13. myQrcode::show($link);