[ewiki] $ewiki_binary_icons | mime_magic-Plugin
- From: Timm Zwickel <t@xxxxxxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Tue, 18 Nov 2003 23:13:19 +0100
Hello to all!
After starting a while back w/ ewiki, I am now trying to tweak it to fit my
needs. After reading the README I am very happy to have chosen ewiki (after
being too frustrated w/ phpwiki) w/ nearly all features I need already
written AND documented so that I can get them running. Thanks!!
I have a suggestion and a question:
## suggestion ##
file-type icons ($ewiki_binary_icons in /plugin/downloads.php):
Like in the demo-version (http://erfurtwiki.sf.net) I did't get the icons
relating to the uploaded files shown, which is due to the dir "/icons" simply
not existing.
Suggestion 1:
Working on a LAMP-system I have (due to my ISPs apache-config I guess) an
automatically generated "/icons" directory, which hold icons. They are named
different from the filenames given in download.php. So the names could be
changed, so that it works at least for people w/ a LAMP-system configured as
mine. (Downside: no universal solution, the icons suck, there are not icons
for all filetypes)
Suggestion 2:
Ship icons w/ ewiki. (There should be GPL'd or so icons. I like the way they
do it at http://www.openwiki.com , which is under BSD license.)
## question ##
I have problems getting the mime_magic-plugin running. When uploading a binary
I get the following error:
Fatal error: Call to undefined function: e() in .../ewiki.php on line 2077
This is where it happens in ewiki.php:
#-- binary files
if ((!$mime_i) && ($pf = $ewiki_plugins["mime_magic"][0])) {
if ($tmp = $pf($content)) {
$mime = $tmp;
}
w/ $pf=e when I upload a binary (independent of what type)
I use:
* ewiki_1.01b
* MySQL-database
* binary_store.php DEactivated
I hope you can help me, greetings,
Timm
Other related posts: