Merge pull request #247 from antedeguemon/master

Bugfixes: edit post page minor fix and install.php bug
This commit is contained in:
j147
2017-10-01 21:31:13 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -900,6 +900,10 @@ if ($step == 0) {
$instance_config .= "\n";
if (@file_put_contents('inc/instance-config.php', $instance_config)) {
// flushes opcache if php >= 5.5.0 or opcache is installed via PECL
if (function_exists('opcache_invalidate')) {
opcache_invalidate('inc/instance-config.php');
}
header('Location: ?step=4', true, $config['redirect_http']);
} else {
$page['title'] = 'Manual installation required';