Add setup and API files with enhanced user interface and error handling
This commit is contained in:
1 parent
84e0630893
commit
06a4f9a6c0
4 files changed
+130
-42
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
// API Main Library
|
||||
class gbAPI {
|
||||
public $authRequired;
|
||||
|
||||
function __construct() {
|
||||
define("APP_PATH", __DIR__ . "/..");
|
||||
|
||||
if ($this->authRequited) {
|
||||
$this->checkAuth();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
// Load Main Libary
|
||||
require "../api.php";
|
||||
Reference in new issue
Block a user