Ignore:
Timestamp:
2006/10/12 13:34:31 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/design/header.php

    r5934 r6085  
    3131 
    3232$division = $_POST['division']; 
    33 $tpl_DIR = ROOT_DIR . INCLUDE_DIR; 
    34 $pre_DIR = ROOT_DIR . INCLUDE_DIR. 'preview/'; 
     33$pre_DIR = USER_INC_PATH . 'preview/'; 
    3534 
    3635// ¥Ç¡¼¥¿¹¹¿·½èÍý 
     
    4342    // ÅÐÏ¿»þ¤Ï¥×¥ì¥Ó¥å¡¼Íѥƥó¥×¥ì¡¼¥È¤ò¥³¥Ô¡¼¤¹¤ë 
    4443    if ($_POST['mode'] == 'confirm'){ 
    45         copy($pre_DIR.$division.".tpl", $tpl_DIR.$division.".tpl"); 
     44        copy($pre_DIR.$division.".tpl", USER_INC_PATH . $division . ".tpl"); 
    4645        // ´°Î»¥á¥Ã¥»¡¼¥¸¡Ê¥×¥ì¥Ó¥å¡¼»þ¤Ïɽ¼¨¤·¤Ê¤¤¡Ë 
    4746        $objPage->tpl_onload="alert('ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿¡£');"; 
     
    6564        mkdir($pre_DIR); 
    6665    } 
    67     copy($tpl_DIR . "header.tpl", $pre_DIR . "header.tpl"); 
    68     copy($tpl_DIR . "footer.tpl", $pre_DIR . "footer.tpl"); 
     66    copy(USER_INC_PATH . "header.tpl", $pre_DIR . "header.tpl"); 
     67    copy(USER_INC_PATH . "footer.tpl", $pre_DIR . "footer.tpl"); 
    6968     
    7069    // ¥Ø¥Ã¥À¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
    71     $header_data = file_get_contents($tpl_DIR . "header.tpl"); 
     70    $header_data = file_get_contents(USER_INC_PATH . "header.tpl"); 
    7271    // ¥Õ¥Ã¥¿¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
    73     $footer_data = file_get_contents($tpl_DIR . "footer.tpl"); 
     72    $footer_data = file_get_contents(USER_INC_PATH . "footer.tpl"); 
    7473 
    7574} 
Note: See TracChangeset for help on using the changeset viewer.