satopian / poti-kaini-EN

POTI-board EVO English ver, The OekakiBBS for PaintBBS NEO, tegaki.js,AXNOS Paint,ChickenPaint and Klecks. (PHP7.4 - PHP8.4) https://paintbbs.sakura.ne.jp/poti/
https://paintbbs.sakura.ne.jp/
Other
33 stars 9 forks source link

Option to hide [Admin mode] link? #8

Closed catharsis71 closed 1 year ago

catharsis71 commented 1 year ago

I have the admin page IP-restricted so whenever someone who isn't me clicks the [Admin mode] link, it generates 403 errors as well as alerts from my WAF

Most of the time it's not even humans clicking the link, it's just web crawlers following every link on the page

I would like an option to hide this link to cut down on the number of alerts I get about it

satopian commented 1 year ago

v5.63.8 #8 · satopian/poti-kaini-EN@e96d3eb

// Display a link to the [Admin mode]  Yes: 1 No: 0
define("USE_ADMIN_LINK", "1");
// No: 0 hides the link the admin mode.

made an option. does this work for you?

catharsis71 commented 1 year ago

great, thank you