aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-07-06 13:10:05 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-07-06 13:10:05 +0000
commit3f7ab4b8a6759374bc48c2ee5b8c88d1b695f0eb (patch)
tree729ac8efaec86e6c15f21dd4bb3eafd78fcb5833 /phpBB/adm
parent2854705096a5029295ab99fa9fcf063661fc2cbc (diff)
downloadforums-3f7ab4b8a6759374bc48c2ee5b8c88d1b695f0eb.tar
forums-3f7ab4b8a6759374bc48c2ee5b8c88d1b695f0eb.tar.gz
forums-3f7ab4b8a6759374bc48c2ee5b8c88d1b695f0eb.tar.bz2
forums-3f7ab4b8a6759374bc48c2ee5b8c88d1b695f0eb.tar.xz
forums-3f7ab4b8a6759374bc48c2ee5b8c88d1b695f0eb.zip
Add a purge option for the session table to the acp. Seems that many boards get unusable due to styles not embedding the cron image and/or extremely long session timeout settings and/or DOS attacks. This new button can be a stopgap measure in those cases.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9714 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/style/acp_main.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html
index 4b6bc1910d..3318215623 100644
--- a/phpBB/adm/style/acp_main.html
+++ b/phpBB/adm/style/acp_main.html
@@ -143,6 +143,12 @@
<dd><input type="hidden" name="action" value="purge_cache" /><input class="button2" type="submit" id="action_purge_cache" name="action_purge_cache" value="{L_RUN}" /></dd>
</dl>
</form>
+ <form id="action_purge_cache_form" method="post" action="{U_ACTION}">
+ <dl>
+ <dt><label for="action_purge_cache">{L_PURGE_SESSIONS}</label><br /><span>{L_PURGE_SESSIONS_EXPLAIN}</span></dt>
+ <dd><input type="hidden" name="action" value="purge_sessions" /><input class="button2" type="submit" id="action_purge_sessions" name="action_purge_sessions" value="{L_RUN}" /></dd>
+ </dl>
+ </form>
<!-- ENDIF -->
</fieldset>
<!-- ENDIF -->