Created
September 6, 2012 10:39
-
-
Save anthonysomerset/3654655 to your computer and use it in GitHub Desktop.
apc clear cache - for apc.stat=0
This file contains hidden or 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 | |
if ($_GET['token'] != 'somesecretpass') { | |
header("HTTP/1.0 404 Not Found"); | |
exit; | |
} | |
apc_clear_cache(); | |
apc_clear_cache('opcode'); | |
echo json_encode(array('success' => true)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment