Add new queries, slightly modify existing queries

This commit is contained in:
mkuba50
2017-09-23 17:47:19 +02:00
parent 6cf5d17abe
commit 3f015df0ad
7 changed files with 181 additions and 22 deletions

View File

@ -15,9 +15,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
require_once 'shared/main.php';
function uupListIds() {
require_once 'shared/main.php';
brand();
uupApiPrintBrand();
if(!file_exists('fileinfo')) return array('error' => 'NO_FILEINFO_DIR');
@ -60,7 +61,7 @@ function uupListIds() {
consoleLogger('Done parsing database info.');
return array(
'apiVersion' => $apiVersion,
'apiVersion' => uupApiVersion(),
'builds' => $builds,
);
}