XPressME Integration Kit

Trac


Ignore:
Timestamp:
Nov 27, 2009, 3:19:43 PM (14 years ago)
Author:
toemon
Message:

XPressME アップデート時のtemplatesフォルダーを整理 Fixes #253
XPressME Ver1.Xからのアップデート時templatesフォルダー内のsourceディレクトリとindex.phpを残し後はすべて削除した後、テンプレートを作成するようにする。
Ver2.X以降からのアップデート時は、不要ディレクトリと不要ファイル(ファイルのプレフィックスが異なるファイルを削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/onupdate.php

    r428 r462  
    5050// make templates 
    5151        include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/xpress_templates_make.php' ; 
     52        $mod_version = $module->getVar('version') ; 
     53 
     54        $t_mess = xpress_clean_templates_file($mydirname,$mod_version); 
     55        $msgs = array_merge($msgs,$t_mess); 
     56         
    5257        $t_mess = xpress_templates_make($mid,$mydirname); 
    53          
    5458        $msgs = array_merge($msgs,$t_mess); 
    5559 
Note: See TracChangeset for help on using the changeset viewer.