Merge ../pl
Conflicts: install.php
This commit is contained in:
commit
18a2017b7a
@ -522,6 +522,7 @@ if (file_exists($config['has_installed'])) {
|
|||||||
if (!$twig) load_twig();
|
if (!$twig) load_twig();
|
||||||
$twig->clearCacheFiles();
|
$twig->clearCacheFiles();
|
||||||
case '4.4.98':
|
case '4.4.98':
|
||||||
|
case '4.5.0':
|
||||||
if (!isset($_GET['confirm3'])) {
|
if (!isset($_GET['confirm3'])) {
|
||||||
$page['title'] = 'Breaking change';
|
$page['title'] = 'Breaking change';
|
||||||
$page['body'] = '<p style="text-align:center">You are upgrading to the 5.0 branch of vichan. Please back up your database, because the process is irreversible. At the current time, if you want a very stable vichan experience, please use the 4.5 branch. This warning will be lifted as soon as we all agree that 5.0 branch is stable enough</p>
|
$page['body'] = '<p style="text-align:center">You are upgrading to the 5.0 branch of vichan. Please back up your database, because the process is irreversible. At the current time, if you want a very stable vichan experience, please use the 4.5 branch. This warning will be lifted as soon as we all agree that 5.0 branch is stable enough</p>
|
||||||
@ -529,7 +530,7 @@ if (file_exists($config['has_installed'])) {
|
|||||||
<a href="?confirm3=1">I have read and understood the warning. Proceed to upgrading.</a>
|
<a href="?confirm3=1">I have read and understood the warning. Proceed to upgrading.</a>
|
||||||
</p>';
|
</p>';
|
||||||
|
|
||||||
file_write($config['has_installed'], '4.4.98');
|
file_write($config['has_installed'], '4.5.0');
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user