[PLUGIN] name=ctl [FILE] download=http://www.geeklog.jp/filemgmt/visit.php?lid=314 filename=ctl_2.3.1jpr1.tar.gz md5=39fd13eabec56505548bd2c75e5766d5 source=/ctl_2.3.1jpr1 geeklog=/ [UPLOAD] geeklog={geeklog}/system/classes [NOTUPLOAD] directory1=/patchpack file1=/CACHE_INSTALL file2=/CACHE_INSTALL.jp file3=/CACHE_USAGE file4=/CHANGES.jp [MKDIR] directory1={geeklog}/data/layout_cache directory2={geeklog}/data/layout_cache/japanese_utf-8 directory3={geeklog}/data/layout_cache/japanese directory4={geeklog}/data/layout_cache/english_utf-8 directory5={geeklog}/data/layout_cache/english [REPLACE] # 置き換えファイル1 file1={geeklog}db-config.php check1=$_CONF['use_caching_templates'] = true; pattern1=\?> replace1=$_CONF['use_caching_templates'] = true;\n\n?> messageformat1=このプラグインではファイルの変更が必要です。以下の変更を適用しない場合インストールはされますが変更はご自身で行う必要があります。\n\nFTP上のファイル{file}の最後尾に設定を追加します。\nよろしいですか?。\n\n[追加前]\n{match}\n\n[追加後]\n{replace} # 置き換えファイル2 file2={public_html}lib-common.php check2=function COM_newTemplate($root = '.', $unknowns = 'remove', $use_old_class = false) pattern2=require_once\( \$_CONF\['path_system'\] \. 'classes/template\.class\.php' \); replace2=if ($_CONF['use_caching_templates']) {\n require_once $_CONF['path_system'].'classes/template_new.class.php';\n} else {\n require_once $_CONF['path_system'].'classes/template.class.php';\n}\n\nfunction COM_newTemplate($root = '.', $unknowns = 'remove', $use_old_class = false)\n{\n global $_CONF;\n\n // Only load the modified old library when requested and only if the\n // caching library is loaded.\n if ($use_old_class AND isset($_CONF['use_caching_templates']) AND $_CONF['use_caching_templates']) {\n require_once $_CONF['path_system'].'classes/template_old.class.php';\n\n return new Template_OLD($root, $unknowns);\n } else {\n return new Template($root, $unknowns);\n }\n}\n messageformat2=このプラグインではファイルの変更が必要です。以下の変更を適用しない場合インストールはされますが変更はご自身で行う必要があります。\n\nFTP上のファイル{file}の{no}行目を置き換えます。\nよろしいですか?\n\n[置き換え前]\n{match}\n\n[置き換え後]\n{replace} [PERMISSION] directory1={geeklog}/data/layout_cache directory2={geeklog}/data/layout_cache/japanese_utf-8 directory3={geeklog}/data/layout_cache/japanese directory4={geeklog}/data/layout_cache/english_utf-8 directory5={geeklog}/data/layout_cache/english [ALERT] message1=Caching Template Libraryはdb-config.phpと message2=lib-common.phpの編集が必要です。 message3=このインストーラで変更を加えたかすでに message4=編集済みの場合はその必要はありません。 message5=詳しくはCACHE_INSTALL.jpをお読みください。 message6=\nXREAで利用する場合には特に注意が必要です。 message7=そのためこのインストーラではあらかじめ message8=いくつかのディレクトリを作成しています。 message9=こちらについてはREADME.jpをご覧ください。