Skip to content

Commit

Permalink
A few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Jul 10, 2015
1 parent d702e98 commit 1e6120c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions system/htmly.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

// Load the configuration file
config('source', $config_file);

if (config('timezone')) {
date_default_timezone_set(config('timezone'));
}
Expand Down
3 changes: 2 additions & 1 deletion system/upgrade/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

$config_file = 'config/config.ini';
require 'system/vendor/autoload.php';
require 'system/htmly.php';
require 'system/htmly.php';
1 change: 0 additions & 1 deletion system/upgrade/run.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

$config_file = 'config/config.ini';
config('source', $config_file);

$updater = new Kanti\HubUpdater("danpros/htmly");
Expand Down

0 comments on commit 1e6120c

Please sign in to comment.