カテゴリ:カスタマイズ プラグイン改造

alias.inc.phpの導入

alias.inc.phpの導入に際して以下の記述を追加。

function plugin_rename_get_files($pages)
{
@@ -305,6 +305,7 @@
 	$dirs  = array(BACKUP_DIR, DIFF_DIR, DATA_DIR);
 	if (exist_plugin_convert('attach'))  $dirs[] = UPLOAD_DIR;
 	if (exist_plugin_convert('counter')) $dirs[] = COUNTER_DIR;
+	if (exist_plugin_convert('alias')) $dirs[] = ALIAS_DATA_DIR;
 	// and more ...
 
 	$matches = array();

コメントはありません。 コメント/プラグインの変更箇所/rename.inc.php