Skip to content

Instantly share code, notes, and snippets.

/example.php Secret

Created June 30, 2016 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b5ef75e7a5089e8d7e7682931c366fdd to your computer and use it in GitHub Desktop.
Save anonymous/b5ef75e7a5089e8d7e7682931c366fdd to your computer and use it in GitHub Desktop.
<?php
echo $this->Html->link(
'VISUALIZZA', Cake\Routing\Router::url([
'plugin' => false,
'controller' => 'Users',
'action' => 'login',
'?' => ['token' => $user->token, 'r' => 'scheda', '/' => $agentCode],
'_full' => true,
], ['escape' => false]), [
'target' => '_blank'
]
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment