Author: pet
Description:
The main page will contain an incorrect link to the config directory when mediawiki hasn't been setup yet and php-fastcgi is being used.
This is what index.php will "print" in such a case: Please <a href="/php-fastcgi/php5-fcgi.shconfig/index.php" title='setup'> set up the wiki</a> first.
Relevant variables in $_SERVER:
Array ( [SCRIPT_FILENAME] => /data/hosting/xxx/php-fastcgi/php5-fcgi.sh [REDIRECT_URL] => /~myuser/test.php [REQUEST_URI] => /~myuser/test.php [SCRIPT_NAME] => /php-fastcgi/php5-fcgi.sh [PATH_INFO] => /~myuser/test.php [PATH_TRANSLATED] => /data/hosting/xxx/htdocs/~myuser/test.php [PHP_SELF] => /~myuser/test.php )
Relevant files:
includes/templates/NoLocalSettings.php
Version: 1.12.x
Severity: minor