From: <var...@us...> - 2009-07-12 02:22:37
|
Revision: 7012 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7012&view=rev Author: vargenau Date: 2009-07-12 02:22:31 +0000 (Sun, 12 Jul 2009) Log Message: ----------- Use getUploadFilePath() Modified Paths: -------------- trunk/lib/EditToolbar.php Modified: trunk/lib/EditToolbar.php =================================================================== --- trunk/lib/EditToolbar.php 2009-07-09 09:21:02 UTC (rev 7011) +++ trunk/lib/EditToolbar.php 2009-07-12 02:22:31 UTC (rev 7012) @@ -408,9 +408,7 @@ function imagePulldown($query, $case_exact=false, $regex='auto') { global $WikiTheme; - $image_dir = '.'; - if (defined('UPLOAD_FILE_PATH')) - $image_dir = UPLOAD_FILE_PATH . "/$image_dir"; + $image_dir = getUploadFilePath(); $pd = new fileSet($image_dir, '*'); $images = $pd->getFiles(); unset($pd); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |