Flynntes / Sleeky

🎨 A sleek and simple frontend & backend theme for YOURLS
http://sleeky.flynntes.com
MIT License
472 stars 102 forks source link

Incompatibility with QR codes plugin? #64

Open jaialai2002 opened 4 years ago

jaialai2002 commented 4 years ago

First of all, it's an awesome theme, but I'm experiencing some kind of incompatibility with some QR codes plugins as SmartQR (v 1.2-drg-git) or Sean's QR Code Short URLs (v 1.1).

When I activate Sleeky Backend cant access to QR code image with .qr added to the end of the keyword as fun the main theme. Thanks, Jaime

VirgileD commented 3 years ago

Hello, the problem is in the end of the plugin.php file of the backend: https://github.com/Flynntes/Sleeky/blob/592b0497e79b83f3679cc2d4467cf44f069b8e01/sleeky-backend/plugin.php#L142 To hide admin links to non authenticated users, the plugin echoes some html styling, which prevents any following Header('Location: ...') to work.