Commit 596dd8ed authored by Bate's avatar Bate

Smilies

parent 4e451521
...@@ -670,7 +670,7 @@ class dokusyntax ...@@ -670,7 +670,7 @@ class dokusyntax
$smPath = "images/forum/smilies/"; $smPath = "images/forum/smilies/";
foreach($smileys as $tag => $img) foreach($smileys as $tag => $img)
{ {
if ( file_exists(__DIR__."/../..".$smPath . "/" . $img) ) if ( file_exists(__DIR__."/../../".$smPath . "/" . $img) )
{ {
$tag = preg_replace('!\]!i', '\]', $tag); $tag = preg_replace('!\]!i', '\]', $tag);
$tag = preg_replace('!\[!i', '\[', $tag); $tag = preg_replace('!\[!i', '\[', $tag);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment