Changeset 22037
- Timestamp:
- 2012/09/23 06:22:00 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_AdminView.php
r21867 r22037 34 34 $this->assign('TPL_URLPATH_DEFAULT', ROOT_URLPATH . USER_DIR . USER_PACKAGE_DIR . DEFAULT_TEMPLATE_NAME . '/'); 35 35 $this->assign('TPL_URLPATH', ROOT_URLPATH . USER_DIR . USER_PACKAGE_DIR . 'admin/'); 36 $this->initpath();37 36 } 38 37 } -
branches/version-2_12-dev/data/class/SC_SiteView.php
r21867 r22037 38 38 39 39 $this->assignTemplatePath(DEVICE_TYPE_PC); 40 $this->initpath();41 40 } 42 41 -
branches/version-2_12-dev/data/class/SC_View.php
r21926 r22037 190 190 } 191 191 192 /* サイト初期設定 */193 function initpath() {194 $array = array();195 $array['tpl_mainnavi'] = realpath(dirname(__FILE__)) . '/../Smarty/templates/frontparts/mainnavi.tpl';196 197 $objDb = new SC_Helper_DB_Ex();198 $array['tpl_root_id'] = $objDb->sfGetRootId();199 $this->assignarray($array);200 }201 202 192 /** 203 193 * テンプレートパスをアサインする.
Note: See TracChangeset
for help on using the changeset viewer.