phpbb.patch 1.1 KB

123456789101112131415161718192021
  1. Index: install/install_install.php
  2. --- install/install_install.php.orig 2006-11-27 22:47:53 +0100
  3. +++ install/install_install.php 2006-12-25 10:37:55 +0100
  4. @@ -287,7 +287,7 @@
  5. if (empty($magic_home))
  6. {
  7. $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/');
  8. - $path_locations = str_replace('\\', '/', (explode(($exe) ? ';' : ':', getenv('PATH'))));
  9. + $path_locations = str_replace('\\', '/', (explode(($exe) ? ';' : ':', '@l_prefix@/bin:' . getenv('PATH'))));
  10. $locations = array_merge($path_locations, $locations);
  11. foreach ($locations as $location)
  12. @@ -508,6 +508,7 @@
  13. $this->available_dbms = &$available_dbms_temp;
  14. // And now for the main part of this page
  15. + $dbhost = (!empty($dbhost) ? $dbhost : '@l_prefix@/var/phpbb/db/phpbb.db');
  16. $table_prefix = (!empty($table_prefix) ? $table_prefix : 'phpbb_');
  17. foreach ($this->db_config_options as $config_key => $vars)