diff --git a/README.md b/README.md index 4a4db01..069b289 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,11 @@ Please refer to the provided [installation instructions](INSTALL.md). Please refer to the provided [update instructions](UPDATE.md). +## Custom pages + +If you need to add custom HTML pages as required by law to publish any website processing data in some countries, simply add your HTML files in the `config/pages` folder, they will be automatically linked from the footer. +The expected extension is `.html`. + ## See also - [Project Concepts](docs/Concepts.md) diff --git a/src/classes/Controllers/Web/BaseController.php b/src/classes/Controllers/Web/BaseController.php index c8a907e..3b14c64 100644 --- a/src/classes/Controllers/Web/BaseController.php +++ b/src/classes/Controllers/Web/BaseController.php @@ -5,5 +5,5 @@ namespace Friendica\Directory\Controllers\Web; abstract class BaseController { - + abstract function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): array; } \ No newline at end of file diff --git a/src/classes/Controllers/Web/Search.php b/src/classes/Controllers/Web/Search.php index 250a21f..cf9a08b 100644 --- a/src/classes/Controllers/Web/Search.php +++ b/src/classes/Controllers/Web/Search.php @@ -3,9 +3,6 @@ namespace Friendica\Directory\Controllers\Web; use \Friendica\Directory\Content\Pager; -use PDO; -use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\ServerRequestInterface; /** * @author Hypolite Petovan diff --git a/src/classes/Controllers/Web/Statistics.php b/src/classes/Controllers/Web/Statistics.php index 6d75193..f49fe5b 100644 --- a/src/classes/Controllers/Web/Statistics.php +++ b/src/classes/Controllers/Web/Statistics.php @@ -2,11 +2,6 @@ namespace Friendica\Directory\Controllers\Web; -use \Friendica\Directory\Content\Pager; -use PDO; -use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\ServerRequestInterface; - /** * @author Hypolite Petovan */