Apply autoloader support for status messages

This commit is contained in:
billz
2023-09-16 11:46:11 +02:00
parent 07b950cf65
commit 33c596189d
15 changed files with 15 additions and 535 deletions

View File

@@ -1,10 +1,8 @@
<?php
require_once 'includes/status_messages.php';
function DisplayAuthConfig($username)
{
$status = new StatusMessages();
$status = new \RaspAP\Messages\StatusMessage;
$auth = new \RaspAP\Auth\HTTPAuth;
$config = $auth->getAuthConfig();
$password = $config['admin_pass'];