Commit 079a217f authored by slopez's avatar slopez

prevent fail due to vache downtime

parent 3897004b
......@@ -720,7 +720,8 @@ class asso extends stdentity
{
if (strlen($this->nom_unix) <= 0)
return 0;
if(file_exists("/tmp/vachedown"))
return 0;
$pendings = file_get_contents("http://barty.me.aeinfo.net/list_heldmsgs.php");
$pendings = explode("\n", $pendings);
......
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