mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
update improvements
This commit is contained in:
parent
650928831b
commit
8df902951b
2 changed files with 20 additions and 5 deletions
|
@ -17,8 +17,12 @@ require_once('install_functions.php');
|
|||
|
||||
if (isset($_GET['clean'])) {
|
||||
if (is_dir('install')){
|
||||
delTree('install');
|
||||
header('Location: index.php');
|
||||
delTree('install');
|
||||
header('Location: index.php');
|
||||
}
|
||||
if (is_dir('cache')) {
|
||||
delTree('cache', false);
|
||||
header('Location: index.php');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -402,8 +406,10 @@ border: 1px solid #000;
|
|||
<?php if (file_exists('inc/poche/config.inc.php') && is_dir('vendor')) : ?>
|
||||
<div class='messages success install'>
|
||||
<p>
|
||||
wallabag seems already installed. If you want to update it, you only have to delete install folder, then <a href="index.php">reload this page</a>.
|
||||
<a href="index.php?clean=0">Click here to finish update.</a><br>
|
||||
If it fails, just delete the install directory.
|
||||
</p>
|
||||
<p>You may have to clear cache (by going into config screen) after update.</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
@ -701,6 +707,7 @@ php composer.phar install</code></pre>
|
|||
$(".database_info").hide();
|
||||
$(".usersettings").hide();
|
||||
<?php endif ?>
|
||||
|
||||
/*
|
||||
* Database showing/hiding
|
||||
*/
|
||||
|
@ -730,6 +737,10 @@ php composer.phar install</code></pre>
|
|||
endif;
|
||||
?>
|
||||
|
||||
<?php if (file_exists('inc/poche/config.inc.php') && is_dir('vendor')) : ?>
|
||||
$('.technical').hide();
|
||||
<?php endif ?>
|
||||
|
||||
$("#mysql_utf8_mb4").click(function() {
|
||||
$("#utf8_mb4_infos").toggle();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue