ShikiSuen
Well-known member
Any way to stop generating "AnyPHPPage.php?_debug=1" page unless debug mode is specifically enabled in the config.php?
I am writing an addon disabling some over-information in the footer debug:
(Hotlink towards the "AnyPHPPage.php?_debug=1" has been removed; Only Data-Template appears in the popup.)
The rest is to either stop the generation of "AnyPHPPage.php?_debug=1" or block its access, and I have no clue with that.
P.S.: AnyPHPPage may refer to index.php or admin.php... any XF php page accessible in the public, including the admincp login page.
I am writing an addon disabling some over-information in the footer debug:
(Hotlink towards the "AnyPHPPage.php?_debug=1" has been removed; Only Data-Template appears in the popup.)
The rest is to either stop the generation of "AnyPHPPage.php?_debug=1" or block its access, and I have no clue with that.
P.S.: AnyPHPPage may refer to index.php or admin.php... any XF php page accessible in the public, including the admincp login page.