diff --git a/api/auth/isauth.php b/api/auth/isauth.php index 55504ed..63b9226 100755 --- a/api/auth/isauth.php +++ b/api/auth/isauth.php @@ -6,7 +6,7 @@ if (!isset($internal)) { } // Load Main Library -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(true, $internal); $api->answer(200, [ diff --git a/api/auth/login.php b/api/auth/login.php index 16d6346..91ea1ad 100755 --- a/api/auth/login.php +++ b/api/auth/login.php @@ -6,7 +6,7 @@ if (!isset($internal)) { } // Load API Library -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(false, $internal); diff --git a/api/entrys/add.php b/api/entrys/add.php index ede645f..e3e2bf7 100755 --- a/api/entrys/add.php +++ b/api/entrys/add.php @@ -6,7 +6,7 @@ if (!isset($internal)) { } // Load Main Library -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(false, $internal); diff --git a/api/entrys/get.php b/api/entrys/get.php index a794a23..b8844ec 100755 --- a/api/entrys/get.php +++ b/api/entrys/get.php @@ -6,7 +6,7 @@ if (!isset($internal)) { } // Load Main Library -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(false, $internal); diff --git a/api/settings/appname.php b/api/settings/appname.php index 9eecac9..0977cee 100755 --- a/api/settings/appname.php +++ b/api/settings/appname.php @@ -6,7 +6,7 @@ if (!isset($internal)) { } // Load Main Library -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(false, $internal); diff --git a/api/setup/save.php b/api/setup/save.php index 7f77919..8b693c3 100755 --- a/api/setup/save.php +++ b/api/setup/save.php @@ -6,7 +6,7 @@ if (!isset($internal)) { } // Load Main Libary -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(false, $internal); diff --git a/api/template/get.php b/api/template/get.php index bd22c6e..82c6228 100644 --- a/api/template/get.php +++ b/api/template/get.php @@ -5,7 +5,7 @@ if (!isset($internal)) { define("API_DIR", "../"); } // Load Main Library -require API_DIR . "api.php"; +require_once API_DIR . "api.php"; $api = new gbAPI(false, $internal); // Get Template