From: <lu...@us...> - 2009-03-04 16:32:20
|
Revision: 9116 http://armagetronad.svn.sourceforge.net/armagetronad/?rev=9116&view=rev Author: luke-jr Date: 2009-03-04 16:32:11 +0000 (Wed, 04 Mar 2009) Log Message: ----------- fix UNKNOWN_ICON use Modified Paths: -------------- www/beta/trunk/www-aabeta/resource-browser/preview.php Modified: www/beta/trunk/www-aabeta/resource-browser/preview.php =================================================================== --- www/beta/trunk/www-aabeta/resource-browser/preview.php 2009-03-04 16:30:40 UTC (rev 9115) +++ www/beta/trunk/www-aabeta/resource-browser/preview.php 2009-03-04 16:32:11 UTC (rev 9116) @@ -102,6 +102,7 @@ $imagepath = $path . '/' . $file . THUMBNAIL_POSTFIX; if (!file_exists(PREVIEWS_PATH . $imagepath)) $imagepath = UNKNOWN_ICON; + else $imagepath = PREVIEWS_PATH_WEB . $imagepath; list($name, $version) = explode('-', $file, 2); $version = preg_replace('/(?:\\.aa[^.]*\\.xml|\\.dtd)$/', '', $version); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |