Files
dokuwiki-plugins/lib/plugins/ckgedit/ckeditor/dwsmileys.php
Trevor Batley bce7dd054a add contents
2025-10-09 15:04:29 +11:00

10 lines
326 B
PHP

<?php
/**
lib/plugins/ckgedit/fckeditor/dwsmileys.php
*/
$SMILEYS = realpath(dirname(__FILE__).'/../../../../').'/conf/smileys.conf';
if(!file_exists($SMILEYS)) $SMILEYS ='/etc/dokuwiki/smileys.conf';
$LOCAL = preg_replace("/\.conf$/", '.local.conf', $SMILEYS) ;
if(file_exists($LOCAL)) readfile($LOCAL);
readfile($SMILEYS);