Fix api issues and production build

This commit is contained in:
Alan Cell
2020-11-07 12:25:12 +01:00
parent e74ca00902
commit e31bf5a4b9
8 changed files with 58 additions and 56 deletions

View File

@@ -1,7 +1,3 @@
<?php
include ('config.php');
if (isset($_REQUEST['method']) && isset($_REQUEST['url'])) {
include (APP_BASE_PATH.'api.php');
} else {
include (APP_BASE_PATH.'rest.php');
}
include (APP_BASE_PATH.'rest.php');