Made BlogListGenerator PSR-2 conform

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-12-29 21:54:37 +01:00
parent 0bb2dede4d
commit 89e756819d
5 changed files with 16 additions and 9 deletions

View file

@ -35,8 +35,10 @@
require '../vendor/autoload.php';
require '../res/php/Config.php';
require "./../res/php/BlogListGenerator.php";
use \mmk2410\rbe\config\Config as Config;
use mmk2410\rbe\BlogListGenerator\BlogListGenerator as BlogListGenerator;
$config = new Config("../config.yaml", '../vendor/autoload.php');
$settings = $config->getConfig();
@ -108,7 +110,7 @@ if ($config["rcc"]["rcc"] == "on") {
} else {
if (password_verify($passwd, $password)) {
$_SESSION['login'] = true;
include_once "./../res/php/BlogListGenerator.php";
?>
<!-- Post Upload -->