qrcode.php 366 B

123456789101112131415161718
  1. <?php
  2. require_once "../env.inc.php";
  3. require_once "../conf.inc.php";
  4. require_once DIR_PHP_LAYOUTS . "header.php";
  5. secureSession::start();
  6. require_once "../access.inc.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);