Skip to content

Commit

Permalink
fix generic_includes.php returning error Undefined variable in /var/w…
Browse files Browse the repository at this point in the history
…ww/loris/tools/generic_includes.php on line 28
  • Loading branch information
cmadjar committed Aug 7, 2024
1 parent 20d3731 commit 14216db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generic_includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
$client->makeCommandLine();
$client->initialize($configFile);
$config = NDB_Config::singleton();
$DB = NDB_Factory::singleton()->database();
$lorisInstance = new \LORIS\LorisInstance(
$DB,
$config,
Expand All @@ -32,4 +33,3 @@
__DIR__ . "/../modules/",
],
);
$DB = $lorisInstance->getDatabaseConnection();

0 comments on commit 14216db

Please sign in to comment.