Changeset 15829
- Timestamp:
- 2007/09/21 12:27:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/admin/design/LC_Page_Admin_Design.php
r15706 r15829 49 49 $objSess = new SC_Session(); 50 50 SC_Utils_Ex::sfIsSuccess($objSess); 51 52 //if (!isset($_POST['page_id'])) $_POST['page_id'] = "";53 51 54 52 // ページIDを取得 … … 421 419 422 420 // tplファイルの削除 423 $del_tpl = USER_PATH . "templates/" . $arrPreData[0]['filename'] . '.tpl'; 421 $del_tpl = USER_PATH . "templates/" . TEMPLATE_NAME . "/" 422 . $arrPreData[0]['filename'] . '.tpl'; 423 424 424 if (file_exists($del_tpl)){ 425 425 unlink($del_tpl); … … 433 433 $tplfile = "user_data/templates/mypage/index"; 434 434 } 435 copy(HTML_PATH . $tplfile . ".tpl", USER_PATH . "templates/" . $filename . ".tpl"); 435 copy(HTML_PATH . $tplfile . ".tpl", USER_PATH . "templates/" 436 . TEMPLATE_NAME . "/" . $filename . ".tpl"); 436 437 437 438 // 更新データの取得 … … 452 453 ,$ret[0]['page_id'] 453 454 ,$ret[0]['page_id'] 454 ,USER_DIR ."templates/"455 ,USER_DIR ."templates/"455 ,USER_DIR . "templates/" . TEMPLATE_NAME . "/" 456 ,USER_DIR . "templates/" . TEMPLATE_NAME . "/" 456 457 ,$filename 457 458 );
Note: See TracChangeset
for help on using the changeset viewer.