Menu

#7 getting lib/diff.php safe_mode compatible

closed-fixed
nobody
None
5
2003-09-08
2003-07-20
Anonymous
No

Hi,
I just modified a few lines in diff.php to get the Tavi
working with a safe_mode active php installation.
To get it realy working you need a diff in your
safe_mode_exec_dir and a tmp dir writeable for the uid
wich owns the diff.php script.
For me the changes in config.php look like this:
//we need a local TempDir to make it safe_mode compatible
$TempDir = '/home/sven/tmp';

//we need a diff binary in the safe_mode_exec_dir
$DiffCmd = '/usr/local/safemodebin/diff';

Hope that's usefull,
Sven Hoexter - sven@timegate.de

Discussion

  • Nobody/Anonymous

    patch against diff.php

     
  • Nobody/Anonymous

    Logged In: NO

    forget this one, I found a nicer solution while reading
    through the other open bugs
    http://tavi.sourceforge.net/TaviBugs/PhpSafeMode

    Sven

     
  • Even Holen

    Even Holen - 2003-09-08
    • status: open --> closed-fixed
     

Log in to post a comment.