Ver originalif (!isset($_SESSION['email']) or !isset($_POST['aprobar']) or empty($_FILES['imagen'])) { header("location: ../../index.php" ); }