1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/includes/about.php

17 lines
348 B
PHP
Raw Permalink Normal View History

2019-03-15 13:31:02 +01:00
<?php
require_once "app/lib/Parsedown.php";
2019-03-15 13:31:02 +01:00
/**
* Displays info about the RaspAP project
*/
2019-08-19 00:20:47 +02:00
function DisplayAbout()
{
$Parsedown = new Parsedown();
$strContent = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/BACKERS.md');
$sponsorsHtml = $Parsedown->text($strContent);
echo renderTemplate("about", compact('sponsorsHtml'));
2019-03-15 13:31:02 +01:00
}