Changeset 19805 for branches/version-2_5-dev/data/class/SC_View.php
- Timestamp:
- 2010/12/31 23:23:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_View.php
r19803 r19805 24 24 $SC_VIEW_PHP_DIR = realpath(dirname(__FILE__)); 25 25 require_once($SC_VIEW_PHP_DIR . "/../module/Smarty/libs/Smarty.class.php"); 26 //require_once(CLASS_EX_ FILE_PATH. "util_extends/SC_Utils_Ex.php");26 //require_once(CLASS_EX_REALDIR . "util_extends/SC_Utils_Ex.php"); 27 27 28 28 class SC_View { … … 199 199 function SC_AdminView() { 200 200 parent::SC_View(false); 201 $this->_smarty->template_dir = TEMPLATE_ADMIN_ FILE_PATH;202 $this->_smarty->compile_dir = COMPILE_ADMIN_ FILE_PATH;201 $this->_smarty->template_dir = TEMPLATE_ADMIN_REALDIR; 202 $this->_smarty->compile_dir = COMPILE_ADMIN_REALDIR; 203 203 $this->assign('TPL_DIR_DEFAULT', URL_PATH . USER_DIR . USER_PACKAGE_DIR . DEFAULT_TEMPLATE_NAME . '/'); 204 204 $this->assign('TPL_DIR', URL_PATH . USER_DIR . USER_PACKAGE_DIR . ADMIN_DIR); … … 244 244 parent::SC_SiteView($setPrevURL); 245 245 $this->_smarty->template_dir = MOBILE_TEMPLATE_DIR; 246 $this->_smarty->compile_dir = MOBILE_COMPILE_ FILE_PATH;246 $this->_smarty->compile_dir = MOBILE_COMPILE_REALDIR; 247 247 $this->assignTemplatePath(DEVICE_TYPE_MOBILE); 248 248 } … … 253 253 parent::SC_SiteView($setPrevURL); 254 254 $this->_smarty->template_dir = SMARTPHONE_TEMPLATE_DIR; 255 $this->_smarty->compile_dir = SMARTPHONE_COMPILE_ FILE_PATH;255 $this->_smarty->compile_dir = SMARTPHONE_COMPILE_REALDIR; 256 256 $this->assignTemplatePath(DEVICE_TYPE_SMARTPHONE); 257 257 }
Note: See TracChangeset
for help on using the changeset viewer.