Changeset 6226


Ignore:
Timestamp:
2006/10/13 10:45:57 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

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

    r6198 r6226  
    388388         
    389389    // ¥×¥ì¥Ó¥å¡¼ÍÑtpl¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼ 
    390     copy(HTML_PATH . $arrPageData[0]['tpl_dir'] . $arrPageData[0]['filename'] . ".tpl", USER_PATH . "templates/" . $filename . ".tpl"); 
     390    $tplfile = $arrPageData[0]['tpl_dir'] . $arrPageData[0]['filename']; 
     391     
     392    if($tplfile == ""){ 
     393        // tpl¥Õ¥¡¥¤¥ë¤¬¶õ¤Î¾ì¹ç¤Ë¤ÏMY¥Ú¡¼¥¸¤ÈȽÃÇ 
     394        $tplfile = "user_data/templates/mypage/index"; 
     395    } 
     396    copy(HTML_PATH . $tplfile . ".tpl", USER_PATH . "templates/" . $filename . ".tpl"); 
    391397     
    392398    // ¹¹¿·¥Ç¡¼¥¿¤Î¼èÆÀ 
Note: See TracChangeset for help on using the changeset viewer.