security check for install.php seems to have no effect [message #158820] |
Tue, 31 March 2009 14:58 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
I noticed that index.php, pdf.php and rdf.php have a security check for install.php:
<?php if (!$FORUM_TITLE && @file_exists($WWW_ROOT_DISK.'install.php')) {
fud_use('errmsg.inc');
exit(__fud_e_install_script_present_error);
} ?>
However, since the last version of FUDforum there is a default forum title so that the check doesn't seem to have an effect.
|
|
|
|
|
|
|
|
Re: security check for install.php seems to have no effect [message #158845 is a reply to message #158820] |
Fri, 03 April 2009 21:13 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
I would like to suggest some changes and have made correspondig patches (see attached archive):
- redirect user to Dashboard after install
- remove the notice "You will not be able to login until you do." from install script as it is obsolete now
While I was at it I also made the following changes:
- fix validation issues on the Dashboard and the Plugin Manager
- fix typos on the System Info page
- change logic of the checks for install.php and upgrade.php
- fix possible PHP notice "Undefined index: sql" in SQL Manager
[Updated on: Fri, 03 April 2009 21:36] Report message to a moderator
|
|
|
|