From: niekt0 Date: Fri, 17 Dec 2010 02:13:46 +0000 (+0100) Subject: images fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=b097cd5c3065f23e47a0226ee43fa0ce9cc4cd99;p=mirrors%2FKyberia-bloodline.git images fix --- diff --git a/wwwroot/inc/smarty/node_methodz/function.get_image_link.php b/wwwroot/inc/smarty/node_methodz/function.get_image_link.php index 06194e1..fe9a891 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_image_link.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_image_link.php @@ -2,7 +2,7 @@ function smarty_function_get_image_link($params,&$smarty) { global $db; $id = $params['id']; - $img = SYSTEM_ROOT."/images/nodes/".substr($id,0,1)."/".substr($id,1,1)."/$id.gif"; + $img = SYSTEM_DATA."/images/nodes/".substr($id,0,1)."/".substr($id,1,1)."/$id.gif"; if (file_exists($img)) { echo "/images/nodes/".substr($id,0,1)."/".substr($id,1,1)."/$id.gif";