コード例 #1
0
 function mainwp_checkbackups()
 {
     $this->secure_request('mainwp_checkbackups');
     try {
         die(json_encode(array('result' => MainWPRightNow::checkBackups())));
     } catch (Exception $e) {
         die(json_encode(array('error' => $e->getMessage())));
     }
 }