authenticator.php 343 B

1234567891011121314151617
  1. <?php
  2. /**
  3. *
  4. * @filesource authenticator.php
  5. * @created 24.12.2017
  6. * @author Smiley <smiley@chillerlan.net>
  7. * @copyright 2017 Smiley
  8. * @license MIT
  9. */
  10. namespace chillerlan\QRCodeExamples;
  11. require_once '../vendor/autoload.php';
  12. header('Content-type: image/svg+xml');
  13. echo (new MyAuthenticatorClass)->getQRCode();