images fix
authorniekt0 <niekt0@kyberia.cz>
Fri, 17 Dec 2010 02:13:46 +0000 (03:13 +0100)
committerniekt0 <niekt0@kyberia.cz>
Fri, 17 Dec 2010 02:13:46 +0000 (03:13 +0100)
wwwroot/inc/smarty/node_methodz/function.get_image_link.php

index 06194e1d44bd409205af2e78e1539632b42ad8e5..fe9a891aeccacd29a943bb8338e41b57183e24c5 100644 (file)
@@ -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";
This page took 0.210268 seconds and 4 git commands to generate.