forked from GNUsocial/gnu-social
Remove "magic quotes" code and avoid wrong order implode
"Magic quotes" were removed in PHP 5.4, no need to mitigate it anymore. Avoid implode() with the join()-like order of arguments which was deprecated since PHP 7.4 and implicitly since PHP 5.3. Also avoid implode() with an implicit separator for stylistic reasons. mktime() with no arguments has been deprecated since PHP 5.1.
This commit is contained in:
@@ -36,7 +36,7 @@ try {
|
||||
// TRANS: Error message displayed when no configuration file was found for a StatusNet installation.
|
||||
// TRANS: Is followed by a list of directories (separated by HTML breaks).
|
||||
echo '<p>'. _('I looked for configuration files in the following places:') .'<br /> ';
|
||||
echo implode($e->configFiles, '<br />');
|
||||
echo implode('<br />', $e->configFiles);
|
||||
// TRANS: Error message displayed when no configuration file was found for a StatusNet installation.
|
||||
echo '<p>'. _('You may wish to run the installer to fix this.') .'</p>';
|
||||
// @todo FIXME Link should be in a para?
|
||||
|
Reference in New Issue
Block a user