mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +05:30
A few fixes
This commit is contained in:
parent
d702e982de
commit
1e6120c8c4
4 changed files with 5 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
$config_file = 'config/config.ini';
|
||||
require 'system/vendor/autoload.php';
|
||||
require_once "system/upgrade/run.php";
|
||||
require 'system/htmly.php';
|
||||
|
|
@ -5,6 +5,7 @@ date_default_timezone_set('Asia/Jakarta');
|
|||
|
||||
// Load the configuration file
|
||||
config('source', $config_file);
|
||||
|
||||
if (config('timezone')) {
|
||||
date_default_timezone_set(config('timezone'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
$config_file = 'config/config.ini';
|
||||
require 'system/vendor/autoload.php';
|
||||
require 'system/htmly.php';
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
|
||||
$config_file = 'config/config.ini';
|
||||
config('source', $config_file);
|
||||
|
||||
$updater = new Kanti\HubUpdater("danpros/htmly");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue