Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jdarwood007 committed Nov 6, 2023
1 parent 6b46e9e commit 8606269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
$sourcedir = __DIR__;

// Do any third-party scripts want in on the fun?
if (defined('SMF') && !defined('SMF_INSTALLING') && class_exists('SMF\\Config', false) && $hook_value !== (Config::$modSettings['integrate_autoload'] ?? ''))
if (!defined('SMF_INSTALLING') && class_exists('SMF\\Config', false) && $hook_value !== (Config::$modSettings['integrate_autoload'] ?? ''))
{
if (!class_exists('SMF\\IntegrationHook', false) && is_file($sourcedir . '/IntegrationHook.php'))
{
Expand Down
4 changes: 2 additions & 2 deletions other/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -868,9 +868,9 @@ function DatabaseSettings()
Config::load();

// Better find the database file!
if (!file_exists(Config::$sourcedir . '/Db/APIs/' . Db::getClase(Config::$db_type) . '.php'))
if (!file_exists(Config::$sourcedir . '/Db/APIs/' . Db::getClass(Config::$db_type) . '.php'))
{
$incontext['error'] = sprintf(Lang::$txt['error_db_file'], 'Db/APIs/' . Db::getClase(Config::$db_type) . '.php');
$incontext['error'] = sprintf(Lang::$txt['error_db_file'], 'Db/APIs/' . Db::getClass(Config::$db_type) . '.php');
return false;
}

Expand Down

0 comments on commit 8606269

Please sign in to comment.