Skip to content

Instantly share code, notes, and snippets.

@jonasporto
Created July 24, 2014 19:06
Show Gist options
  • Select an option

  • Save jonasporto/88900162d9a72a24b2df to your computer and use it in GitHub Desktop.

Select an option

Save jonasporto/88900162d9a72a24b2df to your computer and use it in GitHub Desktop.
get hostname cakephp
$path = Router::url(array('controller'=> 'forms','action'=>'view','plugin'=>'projeto'));
$host = Router::url('/', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment