Changeset 19803 for branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php
- Timestamp:
- 2010/12/31 14:43:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php
r19802 r19803 23 23 24 24 // {{{ requires 25 require_once(CLASS_ PATH . "pages/admin/LC_Page_Admin.php");25 require_once(CLASS_FILE_PATH . "pages/admin/LC_Page_Admin.php"); 26 26 require_once(DATA_FILE_PATH . "module/Tar.php"); 27 require_once(CLASS_EX_ PATH . "helper_extends/SC_Helper_FileManager_Ex.php");27 require_once(CLASS_EX_FILE_PATH . "helper_extends/SC_Helper_FileManager_Ex.php"); 28 28 29 29 /** … … 156 156 // ユーザデータの下のファイルも保存する。 157 157 $from_dir = USER_TEMPLATE_PATH . $template_code . "/"; 158 $to_dir = SMARTY_TEMPLATES_ DIR. $template_code . "/_packages/";158 $to_dir = SMARTY_TEMPLATES_FILE_PATH . $template_code . "/_packages/"; 159 159 SC_Utils::sfMakeDir($to_dir); 160 160 SC_Utils::sfCopyDir($from_dir, $to_dir); 161 SC_Helper_FileManager::downloadArchiveFiles(SMARTY_TEMPLATES_ DIR. $template_code);161 SC_Helper_FileManager::downloadArchiveFiles(SMARTY_TEMPLATES_FILE_PATH . $template_code); 162 162 break; 163 163 … … 241 241 */ 242 242 function lfChangeCommonCss($template_code) { 243 $css_path = USER_ PATH . "css/common.css";243 $css_path = USER_FILE_PATH . "css/common.css"; 244 244 245 245 // ファイル内容取得 … … 289 289 $objQuery->delete('dtb_templates', 'template_code = ?', array($template_code)); 290 290 // テンプレート削除 291 $templates_dir = SMARTY_TEMPLATES_ DIR. $template_code. "/";291 $templates_dir = SMARTY_TEMPLATES_FILE_PATH. $template_code. "/"; 292 292 SC_Utils_Ex::sfDelFile($templates_dir); 293 293 // コンパイル削除
Note: See TracChangeset
for help on using the changeset viewer.