Usage of ini_set [message #37048] |
Mon, 30 April 2007 21:53 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
FUDforum uses a lot of ini_set calls, mainly in install.php and upgrade.php. But I am on a shared hoster and on shared hosters this function is usually disabled. In case ini_set is disabled it is really hard to install/upgrade FUDforum.
Therefore I would like to suggest that FUDforum doesn't use ini_set. What do you think about?
|
|
|
Re: Usage of ini_set [message #37049 is a reply to message #37048] |
Mon, 30 April 2007 23:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Without the use of the function it is not possible to determine some critical bits of information regarding the PHP environment.
FUDforum Core Developer
|
|
|
|
Re: Usage of ini_set [message #37053 is a reply to message #37052] |
Mon, 30 April 2007 23:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
During the install the forum needs to determine key PHP settings (PHP environment) to determine how it needs to work.
FUDforum Core Developer
|
|
|
|
Re: Usage of ini_set [message #37062 is a reply to message #37054] |
Tue, 01 May 2007 17:17 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Because some settings such as the ones relating to error reporting often need to be adjusted.
FUDforum Core Developer
|
|
|
|
Re: Usage of ini_set [message #37072 is a reply to message #37063] |
Wed, 02 May 2007 19:56 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I've added checks around ini_set() calls in the upgrade script and the installer.
FUDforum Core Developer
|
|
|