Commit 91a07f68 authored by Bate's avatar Bate

Smilies

parent 597db6b9
...@@ -667,7 +667,7 @@ class dokusyntax ...@@ -667,7 +667,7 @@ class dokusyntax
'FIXME'=>'fixme.gif', 'FIXME'=>'fixme.gif',
'DELETEME'=>'delete.gif' 'DELETEME'=>'delete.gif'
); );
$smPath = $_SERVER['DOCUMENT_ROOT']."/".$wwwtopdir."images/forum/smilies/"; $smPath = $topdir."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"; echo "$smPath/$img ".(file_exists($smPath . "/" . $img)?"existe":"n'existe pas")."\n";
......
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