Update constants.php

Added a more generic version as discussed here: https://github.com/zendframework/modules.zendframework.com/pull/198