Skip to content

Commit

Permalink
fix database config bug which cause unexpected connect
Browse files Browse the repository at this point in the history
  • Loading branch information
blogdaren committed May 23, 2024
1 parent 750ee08 commit 2a3fe65
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/config/plugin/blogdaren/webman-phpcreeper/spider/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@
$db_config = require($db_config_file);
}

$global_config = [
'main' => $main_config,
'database' => $db_config,
];
/*
*$global_config = [
* 'main' => $main_config,
* 'database' => $db_config,
*];
*/

return $global_config;
return array_merge($main_config, $db_config);


/** !!! hey, don't try to modify this file unless you understand what u are doing !!! **/
Expand Down

0 comments on commit 2a3fe65

Please sign in to comment.