X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fnodes.inc;h=8553edd92c066b1b2f955665c0462ed2884dc112;hb=9506a2cb819d240a403a0a10d9acd28428805e91;hp=e8ffb84eeea3408ca3a05991a83739214b625e3e;hpb=3676f24250be4b7db303567eee89cd33247cf674;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index e8ffb84..8553edd 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -15,6 +15,8 @@ require_once(INCLUDE_DIR.'base36.inc'); } } + + function processContent_hack($node_content) { global $node; include_once(INCLUDE_DIR.'htmlparse.inc'); @@ -48,7 +50,7 @@ function processContent_hack($node_content) { } $node_content = eregi_Replace("((( )|(\n)|(^))+)(http://|ftp://|https://)([[:alnum:]][^,[:space:]]*)","\\2\\6\\7",$node_content); - //$node_content = mysql_real_escape_string($node_content); once is enough + //$node_content = db_escape_string($node_content); once is enough } return $node_content;