Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $url = $this->params["url"]["url"];
- // Write session
- if ($this->Session->read("History.current") != $url) {
- $this->Session->write("History.previous", $this->Session->read("History.current"));
- $this->Session->write("History.current",$url);
- }
- ?>
Add Comment
Please, Sign In to add comment