Skip to content

Commit

Permalink
Modified function name
Browse files Browse the repository at this point in the history
Fixed the name of the function that called the configuration
  • Loading branch information
kraity authored Jul 20, 2021
1 parent 12a3a30 commit cb17190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public static function isExists()

if (file_exists($configFile)) {
require_once $configFile;
if (function_exists('themeConfig')) {
if (function_exists('_themeConfig')) {
return true;
}
}
Expand All @@ -254,7 +254,7 @@ public function config()
{
$form = new Typecho_Widget_Helper_Form($this->security->getIndex('/action/dynamics?do=configTheme'),
Typecho_Widget_Helper_Form::POST_METHOD);
themeConfig($form);
_themeConfig($form);
$inputs = $form->getInputs();

$themeConfig = $this->options->plugin("Dynamics")->themeConfig;
Expand Down

0 comments on commit cb17190

Please sign in to comment.