also include table-definitions in external api.php
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
2
api.php
2
api.php
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
require __DIR__ . '/vendor/autoload.php';
|
require __DIR__ . '/vendor/autoload.php';
|
||||||
|
|
||||||
|
require \Froxlor\Froxlor::getInstallDir() . '/lib/tables.inc.php';
|
||||||
|
|
||||||
// check whether API interface is enabled after all
|
// check whether API interface is enabled after all
|
||||||
if (\Froxlor\Settings::Get('api.enabled') != 1) {
|
if (\Froxlor\Settings::Get('api.enabled') != 1) {
|
||||||
// not enabled
|
// not enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user