From: Lee Daniel Crocker Date: Mon, 28 Apr 2003 18:14:48 +0000 (+0000) Subject: Install script bug. X-Git-Tag: 1.1.0~577 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=33383866830a3d3f90fd078aa87fda755dc1c41e;p=lhc%2Fweb%2Fwiklou.git Install script bug. --- diff --git a/install.php b/install.php index 25c18ae38b..d79578b017 100644 --- a/install.php +++ b/install.php @@ -10,16 +10,16 @@ if ( ! ( is_readable( "./LocalSettings.php" ) "source directory before running this install script.\n"; exit(); } -if ( $wgUseTeX && ( ! is_executable( "./math/texvc" ) ) ) { - print "To use math functions, you must first compile texvc by\n" . - "running \"make\" in the math directory.\n"; - exit(); -} $DP = "./includes"; include_once( "./LocalSettings.php" ); include_once( "./AdminSettings.php" ); +if ( $wgUseTeX && ( ! is_executable( "./math/texvc" ) ) ) { + print "To use math functions, you must first compile texvc by\n" . + "running \"make\" in the math directory.\n"; + exit(); +} if ( is_file( "{$IP}/Version.php" ) ) { print "There appears to be an installation of the software\n" . "already present on \"{$IP}\". You may want to run the update\n" .