Trying to remove install.php after update

This commit is contained in:
danpros 2021-03-06 17:45:43 +07:00
commit 017f6e4c26
3 changed files with 8 additions and 3 deletions

View file

@ -2,4 +2,9 @@
<h3>Updated to<h3>
<h2>[<?php echo $info['tag_name']; ?>] <?php echo $info['name']; ?></h2>
<p><?php echo \Michelf\MarkdownExtra::defaultTransform($info['body']); ?></p>
<?php require_once "system/upgrade/run.php"; ?>
<?php require_once "system/upgrade/run.php"; ?>
<?php
if (file_exists('install.php')) {
unlink('install.php');
}
?>

View file

@ -1,5 +1,5 @@
<?php
if (!defined('HTMLY')) die('HTMLy');
$config_file = 'config/config.ini';
require 'system/vendor/autoload.php';
require 'system/htmly.php';

View file

@ -1,5 +1,5 @@
<?php
if (!defined('HTMLY')) die('HTMLy');
config('source', 'config/config.ini');
$updater = new Kanti\HubUpdater("danpros/htmly");