Created
May 7, 2016 18:13
-
-
Save tribulant/d9ad8be4316a09af7b26a825f347be6f to your computer and use it in GitHub Desktop.
Really Simple Captcha plugin - cleanup() method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$captcha = new ReallySimpleCaptcha(); | |
// ... | |
// Run a cleanup on images older than 60 minutes | |
$minutes = 60; | |
$max = 100; | |
$captcha -> cleanup($minutes, $max); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment