History: DrawToggg
Preview of version: 16
Get the drawing stuff working
Still buggy for 1.9 multitiki, on its way...
tikiwiki version 1.8.x (and prior?)
You need to modify 4 lines in the script jhot.php as follows:
- lines 22 & 23:
from:
22<
23< $absolute_name = str_replace("img/wiki/$tikidomain", '', $name);
to:
22> $path = 'img/wiki/'.($tikidomain != '/' ? $tikidomain : '');
23> $absolute_name = str_replace($path, '', $name);
- lines 43 & 44:
from:
43< $fw = fopen("img/wiki/$tikidomain$hash", "wb");
44< $fw2 = fopen($name, "wb");
to:
43> $fw = fopen($path.$hash, "wb");
44> $fw2 = fopen($path.$name, "wb");
tikiwiki from version 1.9
Should be ok for 1.9 cvs (thanks tom ๐
You can do it home:
In jhot.php (line 51) just change
$fw2 = fopen($name, "wb");
into
$fw2 = fopen("img/wiki/$name", "wb");
That's all.
Now comes the most difficult: make beautiful drawings ๐
Tikily yours,
--
bertrand Gugger (toggg) Wanting to draw