• R/O
  • SSH
  • HTTPS

risoluto: コミット


コミットメタ情報

リビジョン330 (tree)
日時2012-08-02 14:21:49
作者yuta_hayakawa

ログメッセージ

fileOperator()にシンボリックリンク作成用コード追加

変更サマリ

差分

--- trunk/risoluto_core/risoluto/func/risoluto_util.php (revision 329)
+++ trunk/risoluto_core/risoluto/func/risoluto_util.php (revision 330)
@@ -407,7 +407,7 @@
407407 *
408408 * 指定されたファイルやディレクトリに対し、作成/コピー/移動/削除等を行う
409409 *
410- * @param string $operation 処理内容を示す文字列(make/copy/move/unlink/mkdir/rmdir)
410+ * @param string $operation 処理内容を示す文字列(make/copy/move/unlink/mkdir/rmdir/symlink)
411411 * @param string $target 対象となるパス
412412 * @param string $destination コピー又は移動先となるパス
413413 * @param string $prefix ファイル中の「[[[_PREFIX]]]」を置換する文字列
@@ -486,6 +486,14 @@
486486 } // end of if
487487 break;
488488
489+ // symlink
490+ case 'symlink' :
491+ if ( @symlink ( $target, $destination ) )
492+ {
493+ $result = true;
494+ } // end of if
495+ break;
496+
489497 } // end of switch
490498
491499 return $result;
旧リポジトリブラウザで表示