New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Configuration change has no effect #21943 #21949

Merged
merged 6 commits into from Nov 17, 2018
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+6 −0
Diff settings

Always

Just for now

@@ -459,6 +459,12 @@ private function writeConfigFile(Registry $config)
throw new RuntimeException(JText::_('COM_CONFIG_ERROR_WRITE_FAILED'));
}
// Invalidates the cached configuration file
if (function_exists('opcache_invalidate'))
{
opcache_invalidate($file);
}
// Attempt to make the file unwriteable if using FTP.
if (!$ftp['enabled'] && JPath::isOwner($file) && !JPath::setPermissions($file, '0444'))
{
ProTip! Use n and p to navigate between commits in a pull request.