Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7092

Wrong path in installer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.1
    • 3.0.0
    • Installation system
    • None
    • PHP Environment:
      Database:

      in install_install.php there is this:

      		while (($file = readdir($dir)) !== false)
      		{
      			$path = $phpbb_root_path . 'language/' . $file;
       
      			if ($file == '.' || $file == '..' || is_link($path) || is_file($path) || $file == 'CVS')
      			{
      				continue;
      			}
       
      			if (is_dir($path) && file_exists($path . '/iso.txt'))
      			{
      				$lang_file = file("{$phpbb_root_path}language/$path/iso.txt");

      Shouldn't that last part be:

      $lang_file = file("$path/iso.txt");

            Acyd Burn Meik Sievertsen [X] (Inactive)
            igorw Igor Wiedler [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: