13 lines
307 B
PHP
13 lines
307 B
PHP
<?php
|
|
// Load Main Library
|
|
require "../api.php";
|
|
|
|
$api = new gbAPI(false);
|
|
|
|
// Get App Name
|
|
$command = "SELECT name, value FROM settings WHERE name = :name";
|
|
$result = $api->dbCommand($command, true, true, [":name" => "application_name"]);
|
|
|
|
$api->answer(200, [
|
|
"application_name" => $result["value"]
|
|
]); |