mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 15:40:22 +00:00
16 lines
348 B
PHP
Executable file
16 lines
348 B
PHP
Executable file
<?php
|
|
|
|
require_once "app/lib/Parsedown.php";
|
|
|
|
/**
|
|
* Displays info about the RaspAP project
|
|
*/
|
|
function DisplayAbout()
|
|
{
|
|
$Parsedown = new Parsedown();
|
|
$strContent = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/BACKERS.md');
|
|
$sponsorsHtml = $Parsedown->text($strContent);
|
|
|
|
echo renderTemplate("about", compact('sponsorsHtml'));
|
|
}
|
|
|