mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 09:46:03 +00:00
Prepare for embedded mode
This commit is contained in:
@@ -222,7 +222,7 @@ class StockService extends BaseService
|
||||
throw new \Exception('No barcode lookup plugin defined');
|
||||
}
|
||||
|
||||
$path = __DIR__ . "/../data/plugins/$pluginName.php";
|
||||
$path = DATAPATH . "/plugins/$pluginName.php";
|
||||
if (file_exists($path))
|
||||
{
|
||||
require_once $path;
|
||||
|
Reference in New Issue
Block a user