Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-7092

Wrong path in installer

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • Installation system
    • None
    • PHP Environment:
      Database:

    Description

      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");

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: