#150 Change to fortune plugin

closed-fixed
None
5
2006-07-07
2006-06-01
Andrew
No

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);

Discussion

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-06-05
    • assigned_to: nobody --> tokul
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-07-07

    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().

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-07-07
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks