Esempio n. 1
0
 function action_post_set_valid()
 {
     include "application/models/model_post.php";
     $id = $_POST['id'];
     $post = new Model_Post();
     if ($post->set_valid($id)) {
         header('Location: /admin', true, 303);
     }
 }