Index: install/install_install.php --- install/install_install.php.orig 2006-11-27 22:47:53 +0100 +++ install/install_install.php 2006-12-25 10:37:55 +0100 @@ -287,7 +287,7 @@ if (empty($magic_home)) { $locations = array('C:/WINDOWS/', 'C:/WINNT/', 'C:/WINDOWS/SYSTEM/', 'C:/WINNT/SYSTEM/', 'C:/WINDOWS/SYSTEM32/', 'C:/WINNT/SYSTEM32/', '/usr/bin/', '/usr/sbin/', '/usr/local/bin/', '/usr/local/sbin/', '/opt/', '/usr/imagemagick/', '/usr/bin/imagemagick/'); - $path_locations = str_replace('\\', '/', (explode(($exe) ? ';' : ':', getenv('PATH')))); + $path_locations = str_replace('\\', '/', (explode(($exe) ? ';' : ':', '@l_prefix@/bin:' . getenv('PATH')))); $locations = array_merge($path_locations, $locations); foreach ($locations as $location) @@ -508,6 +508,7 @@ $this->available_dbms = &$available_dbms_temp; // And now for the main part of this page + $dbhost = (!empty($dbhost) ? $dbhost : '@l_prefix@/var/phpbb/db/phpbb.db'); $table_prefix = (!empty($table_prefix) ? $table_prefix : 'phpbb_'); foreach ($this->db_config_options as $config_key => $vars)