get domain from url cakephp
snippet in php

get domain from url cakephp

user7620

Router::url('/', true) . 'img/example.png'