add the config itself

This commit is contained in:
Bruno Rybársky 2024-01-16 20:55:27 +01:00
parent 9fb6ea82c3
commit 8190a9ad01
2 changed files with 16 additions and 0 deletions

4
.gitignore vendored Normal file

@ -0,0 +1,4 @@
.idea
secrets
secrets/
secrets/config.php

12
lib/config.php Normal file

@ -0,0 +1,12 @@
<?php
function loadRouterConfig(){
global $routerConfig;
$routerConfig["default_page"] = "domov";
$routerConfig["default_site"] = "home";
$routerConfig["template_dir"] = "templates/";
$routerConfig["page_dir"] = "pages/";
}