add the config itself
This commit is contained in:
parent
9fb6ea82c3
commit
8190a9ad01
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
.idea
|
||||
secrets
|
||||
secrets/
|
||||
secrets/config.php
|
12
lib/config.php
Normal file
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/";
|
||||
}
|
Loading…
Reference in New Issue
Block a user