From: Chad Horohoe Date: Fri, 3 Sep 2010 14:24:40 +0000 (+0000) Subject: Followup r72108, put the history file in $IP/maintenance rather than the cwd. Also... X-Git-Tag: 1.31.0-rc.0~35200 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=a41c92b7dd194745892804c7025511176b58040b;p=lhc%2Fweb%2Fwiklou.git Followup r72108, put the history file in $IP/maintenance rather than the cwd. Also add it to svnignore. --- diff --git a/maintenance/eval.php b/maintenance/eval.php index 6ba613b60f..43db368d36 100644 --- a/maintenance/eval.php +++ b/maintenance/eval.php @@ -49,7 +49,7 @@ if ( function_exists( 'readline_add_history' ) if ( $useReadline ) { $historyFile = isset( $_ENV['HOME'] ) ? - "{$_ENV['HOME']}/.mweval_history" : '.mweval_history'; + "{$_ENV['HOME']}/.mweval_history" : "$IP/maintenance/.mweval_history"; readline_read_history( $historyFile ); }