Index: install/install_install.php --- install/install_install.php.orig 2007-07-28 18:48:13 +0200 +++ install/install_install.php 2007-07-29 13:52:26 +0200 @@ -392,7 +392,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) @@ -604,6 +604,7 @@ $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'); $data['table_prefix'] = (!empty($data['table_prefix']) ? $data['table_prefix'] : 'phpbb_'); foreach ($this->db_config_options as $config_key => $vars)