OSDN Git Service

BugTrack/509 ディレクトリの位置をハードコードしているファイルが多数ある
authorhenoheno <henoheno>
Tue, 22 Jun 2004 11:56:25 +0000 (20:56 +0900)
committerhenoheno <henoheno>
Tue, 22 Jun 2004 11:56:25 +0000 (20:56 +0900)
plugin/attach.inc.php
plugin/ref.inc.php

index b71ff9f..8e3a33c 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-//  $Id: attach.inc.php,v 1.39 2004/03/18 10:02:13 arino Exp $
+//  $Id: attach.inc.php,v 1.40 2004/06/22 11:56:25 henoheno Exp $
 //
 
 /*
@@ -36,7 +36,7 @@ define('ATTACH_FILE_MODE',0644);
 // file icon image
 if (!defined('FILE_ICON'))
 {
-       define('FILE_ICON','<img src="./image/file.png" width="20" height="20" alt="file" style="border-width:0px" />');
+       define('FILE_ICON','<img src="' . IMAGE_DIR . 'file.png" width="20" height="20" alt="file" style="border-width:0px" />');
 }
 
 // mime-type¤òµ­½Ò¤·¤¿¥Ú¡¼¥¸
index 579f538..5099da2 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: ref.inc.php,v 1.21 2004/02/29 14:29:28 arino Exp $
+// $Id: ref.inc.php,v 1.22 2004/06/22 11:56:25 henoheno Exp $
 //
 
 /*
@@ -47,7 +47,7 @@ img
 // file icon image
 if (!defined('FILE_ICON'))
 {
-       define('FILE_ICON','<img src="./image/file.png" width="20" height="20" alt="file" style="border-width:0px" />');
+       define('FILE_ICON','<img src="' . IMAGE_DIR . 'file.png" width="20" height="20" alt="file" style="border-width:0px" />');
 }
 
 // default alignment