@ADmad Having 2 detectors seems good. And yes, I think its an application level thing. Unless there is a strong reason to keep it in CakePHP itself I think the app skeleton is the best place. People who don't need it can cut that dependency and code out.