Commit 3897004b authored by slopez's avatar slopez

check if vache is down

parent 08e94e89
<?php
// check if vache is up
$ping = @fopen("http://barty.me.aeinfo.net/list_heldmsgs.php",'r');
if(!$ping && !file_exists("/tmp/vachedown"))
@touch("/tmp/vachedown");
elseif($ping && file_exists("/tmp/vachedown"))
@unlink("/tmp/vachedown");
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment