Guest User

Untitled

a guest
Jun 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <?php
  2. $url = $this->params["url"]["url"];
  3. // Write session
  4. if ($this->Session->read("History.current") != $url) {
  5. $this->Session->write("History.previous", $this->Session->read("History.current"));
  6. $this->Session->write("History.current",$url);
  7. }
  8. ?>
Add Comment
Please, Sign In to add comment