mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Trying to remove install.php after update
This commit is contained in:
parent
f68dfab715
commit
017f6e4c26
3 changed files with 8 additions and 3 deletions
|
|
@ -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');
|
||||
}
|
||||
?>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
if (!defined('HTMLY')) die('HTMLy');
|
||||
$config_file = 'config/config.ini';
|
||||
require 'system/vendor/autoload.php';
|
||||
require 'system/htmly.php';
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
if (!defined('HTMLY')) die('HTMLy');
|
||||
config('source', 'config/config.ini');
|
||||
|
||||
$updater = new Kanti\HubUpdater("danpros/htmly");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue