Update controller.php

Backwards compability for faster merge :)