Exemplo n.º 1
0
 function post()
 {
     $users = new UsersData();
     if ($users->checkPass() && !$users->authNeeded()) {
         $footer = new FooterData();
         $footer->updateData($_POST);
         header('Location: /admin/footer/?updated=true');
     } else {
         include_once '401.html';
     }
 }