Switch to HTTP Basic Auth
Resolves T115
This commit is contained in:
parent
42f1992c97
commit
5e45579ef1
5 changed files with 19 additions and 88 deletions
|
@ -10,13 +10,13 @@ require '../../../vendor/autoload.php';
|
|||
require '../../../res/php/Config.php';
|
||||
require '../../../res/php/ArticleGenerator.php';
|
||||
|
||||
include '../auth/auth.php';
|
||||
|
||||
use \mmk2410\rbe\config\Config as Config;
|
||||
|
||||
$config = new Config("../../../config.yaml", '../../../vendor/autoload.php');
|
||||
$settings = $config->getConfig();
|
||||
|
||||
include '../auth/auth.php';
|
||||
|
||||
if ($settings["rcc"]["api"] == "on" && $settings["rcc"]["rcc"] == "on") {
|
||||
$app = new \Slim\App();
|
||||
|
||||
|
|
Reference in a new issue