A few fixes

This commit is contained in:
Danang Probo Sayekti 2015-07-10 15:13:51 +07:00
commit 1e6120c8c4
4 changed files with 5 additions and 4 deletions

View file

@ -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'));
}

View file

@ -1,4 +1,5 @@
<?php
$config_file = 'config/config.ini';
require 'system/vendor/autoload.php';
require 'system/htmly.php';
require 'system/htmly.php';

View file

@ -1,6 +1,5 @@
<?php
$config_file = 'config/config.ini';
config('source', $config_file);
$updater = new Kanti\HubUpdater("danpros/htmly");