Added a plugin system for looking up products against external services by barcode (references #6)

This commit is contained in:
Bernd Bestel
2018-04-22 19:47:46 +02:00
parent 4853174d03
commit a9a1358b08
12 changed files with 318 additions and 1 deletions

View File

@@ -15,3 +15,8 @@ define('CULTURE', 'en');
# should be just "/" when running directly under the root of a (sub)domain
# or for example "https:/example.com/grocy" when using a subdirectory
define('BASE_URL', '/');
# The plugin to use for external barcode lookups,
# must be the filename without .php extension and must be located in /data/plugins,
# see /data/plugins/DemoBarcodeLookupPlugin.php for an example implementation
define('STOCK_BARCODE_LOOKUP_PLUGIN', 'DemoBarcodeLookupPlugin');