Changeset 21765 for branches/version-2_12-dev/data/class/SC_SiteView.php
- Timestamp:
- 2012/04/18 16:32:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_SiteView.php
r21420 r21765 23 23 24 24 class SC_SiteView extends SC_View_Ex { 25 function SC_SiteView($setPrevURL = true) { 26 parent::SC_View(); 25 function __construct($setPrevURL = true) { 26 parent::__construct(); 27 28 if ($setPrevURL) { 29 $this->setPrevURL(); 30 } 31 } 32 33 function init() { 34 parent::init(); 27 35 28 36 $this->_smarty->template_dir = TEMPLATE_REALDIR; … … 31 39 $this->assignTemplatePath(DEVICE_TYPE_PC); 32 40 $this->initpath(); 41 } 33 42 34 if ($setPrevURL) {43 function setPrevURL() { 35 44 $objCartSess = new SC_CartSession_Ex(); 36 45 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 37 }38 46 } 39 47 }
Note: See TracChangeset
for help on using the changeset viewer.
