The photocell secures outdoor gate systems reliably and allows them to be flexibly installed. The photocell provides additional safety, and is essential if the gate is adjacent to a pavement, for instance, or the opener control is configured with an automatic closing timer for automatic time-dependent closing.