Browse Source

small typo

pull/110/head
Kanti 11 years ago
parent
commit
98bb451ed6
2 changed files with 3 additions and 3 deletions
  1. +1
    -2
      system/htmly.php
  2. +2
    -1
      system/includes/functions.php

+ 1
- 2
system/htmly.php View File

@ -6,7 +6,6 @@ date_default_timezone_set('Asia/Jakarta');
// Explicitly including the dispatch framework, // Explicitly including the dispatch framework,
// and our functions.php file // and our functions.php file
require 'system/includes/dispatch.php'; require 'system/includes/dispatch.php';
require 'system/includes/updater.php';
require 'system/includes/functions.php'; require 'system/includes/functions.php';
require 'system/admin/admin.php'; require 'system/admin/admin.php';
require 'system/includes/session.php'; require 'system/includes/session.php';
@ -1228,7 +1227,7 @@ get('/feed/opml', function() {
get('/admin/update/now/:csrf', function($CSRF) { get('/admin/update/now/:csrf', function($CSRF) {
$proper = is_csrf_proper($CSRF); $proper = is_csrf_proper($CSRF);
$updater = new \Kanti\Updater(array(
$updater = new \Kanti\HubUpdater(array(
'name' => 'danpros/htmly', 'name' => 'danpros/htmly',
'prerelease' => !!config("prerelease"), 'prerelease' => !!config("prerelease"),
)); ));


+ 2
- 1
system/includes/functions.php View File

@ -7,6 +7,7 @@ use \Michelf\MarkdownExtra;
use \Suin\RSSWriter\Feed; use \Suin\RSSWriter\Feed;
use \Suin\RSSWriter\Channel; use \Suin\RSSWriter\Channel;
use \Suin\RSSWriter\Item; use \Suin\RSSWriter\Item;
use \Kanti\HubUpdater;
// Get blog post path. Unsorted. Mostly used on widget. // Get blog post path. Unsorted. Mostly used on widget.
function get_post_unsorted() { function get_post_unsorted() {
@ -1622,7 +1623,7 @@ function toolbar() {
$CSRF = get_csrf(); $CSRF = get_csrf();
$updater = new \Kanti\Updater(array(
$updater = new HubUpdater(array(
'name' => 'danpros/htmly', 'name' => 'danpros/htmly',
'prerelease' => !!config("prerelease"), 'prerelease' => !!config("prerelease"),
)); ));


Loading…
Cancel
Save