Init(); } ////////////////////////////////////////////////////////////////// // Clear Version ////////////////////////////////////////////////////////////////// if($_GET['action']=='clear'){ if(checkAccess()) { $update->Clear(); } } ////////////////////////////////////////////////////////////////// // Test Write Access ////////////////////////////////////////////////////////////////// if($_GET['action']=='test'){ if(checkAccess()) { $update->Test(); } } ////////////////////////////////////////////////////////////////// // Download Version ////////////////////////////////////////////////////////////////// if($_GET['action']=='download'){ if(checkAccess()) { $update->commit = $_GET['remoteversion']; $update->Download(); } } ////////////////////////////////////////////////////////////////// // OptOut ////////////////////////////////////////////////////////////////// if($_GET['action']=='optout'){ if(checkAccess()) { $update->OptOut(); } } ?>