Fix api issues and production build

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

No files matched your search

+1 -5
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');