Tracker: Plugins

5 Change to fortune plugin - ID: 1499134
Last Update: Comment added ( tokul )

When setting up 1.5.1, I had a problem with fortune
that turned out to be the wrong path. With my distro
(Fedora Core 3), /usr/games/fortune exists, but it is a
folder not the binary. As such, I suggest the
following change to the functions.php file to catch
this and report that the program was not found.


44c44
< $exist = is_file($fortune_location);
---
> $exist = file_exists($fortune_location);


Andrew ( iamnos ) - 2006-06-01 21:12

5

Closed

Fixed

Tomas Kuliavas

None

None

Public


Comment ( 1 )

Date: 2006-07-07 13:22
Sender: tokul

Logged In: YES
user_id=225877

SquirrelMail 1.5.2cvs uses popen() instead of shell_exec()
and does not use file system functions to detect fortune
executable.

SquirrelMail 1.4.8cvs uses is_file() instead of file_exists().


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2006-07-07 13:22 tokul
resolution_id None 2006-07-07 13:22 tokul
close_date - 2006-07-07 13:22 tokul
assigned_to nobody 2006-06-05 12:25 tokul