Browse Source

A few fixes

pull/189/head
Danang Probo Sayekti 10 years ago
parent
commit
1e6120c8c4
4 changed files with 5 additions and 4 deletions
  1. +2
    -2
      index.php
  2. +1
    -0
      system/htmly.php
  3. +2
    -1
      system/upgrade/index.php
  4. +0
    -1
      system/upgrade/run.php

+ 2
- 2
index.php View File

@ -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';
require 'system/htmly.php';

+ 1
- 0
system/htmly.php 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'));
}


+ 2
- 1
system/upgrade/index.php 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';

+ 0
- 1
system/upgrade/run.php View File

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


Loading…
Cancel
Save