Commit f37b512f authored by Bate's avatar Bate

Smilies

parent 9c89c69c
...@@ -670,6 +670,7 @@ class dokusyntax ...@@ -670,6 +670,7 @@ class dokusyntax
$smPath = $wwwtopdir."images/forum/smilies/"; $smPath = $wwwtopdir."images/forum/smilies/";
foreach($smileys as $tag => $img) foreach($smileys as $tag => $img)
{ {
echo "$smPath/$img ".(file_exists($smPath . "/" . $img)?"existe":"n'existe pas")."\n";
if ( file_exists($smPath . "/" . $img) ) if ( file_exists($smPath . "/" . $img) )
{ {
$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