From 849186bdfb320c4e3255bcd932b71e5c666a40a7 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sat, 8 Jul 2006 11:24:39 +0000 Subject: [PATCH] * Clean up the wording of the "couldn't find Turck, eAccelerator or APC" message so we don't all look like illiterates * Spacing here and there --- config/index.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config/index.php b/config/index.php index fef48efad6..079800120f 100644 --- a/config/index.php +++ b/config/index.php @@ -405,18 +405,18 @@ if ( $conf->eaccel ) { $conf->turck = 'eaccelerator'; print "
  • eAccelerator installed
  • \n"; } -if (!$conf->turck && !$conf->eaccel && !$conf->apc) { - print "
  • Neither Turck MMCache nor ". - "eAccelerator nor ". - "APC are installed, " . - "can't use object caching functions
  • \n"; + +if( !$conf->turck && !$conf->eaccel && !$conf->apc ) { + echo( '
  • Couldn\'t find Turck MMCache, + eAccelerator or + APC. Object caching functions cannot be used.
  • ' ); } $conf->diff3 = false; -$diff3locations = array("/usr/bin", "/usr/local/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin") + explode($sep, getenv("PATH")); -$diff3names = array("gdiff3", "diff3", "diff3.exe"); +$diff3locations = array( "/usr/bin", "/usr/local/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin" ) + explode( $sep, getenv( "PATH" ) ); +$diff3names = array( "gdiff3", "diff3", "diff3.exe" ); -$diff3versioninfo = array('$1 --version 2>&1', 'diff3 (GNU diffutils)'); +$diff3versioninfo = array( '$1 --version 2>&1', 'diff3 (GNU diffutils)' ); foreach ($diff3locations as $loc) { $exe = locate_executable($loc, $diff3names, $diff3versioninfo); if ($exe !== false) { -- 2.20.1