This question has options. Is the word "admit" used in the same way in the following two sentences?

The French doors admit onto the yard.

A ticket admits one into a playhouse.

pick from the following.
- different meanings
- the same meaning
different meanings