mostly filebased Content Presentation System
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

main.cfg.sample 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. SITE_URL =
  2. [routes]
  3. GET / = Controller\Page->home
  4. GET /home = Controller\Page->home
  5. GET /login = Controller\User->login
  6. GET /register = Controller\User->register
  7. GET @page: /@page = Controller\Page->index
  8. GET /@level1/@level2 = Controller\Page->secondLevel
  9. GET /@level1/@level2/@level3 = Controller\Page->thirdLevel
  10. GET /@level1/@level2/@level3/@level4 = Controller\Page->fourthLevel
  11. [configs]
  12. content/navi.cfg=false
  13. content/data.cfg=false
  14. [siteColors]
  15. primary=#f0a
  16. [templateVars]
  17. includeBanner=false
  18. [globals]
  19. title=Title of new Page
  20. ;; (multilingual) content configuration
  21. ;; ------------------------------------
  22. ; comma seperated list of language identifiers
  23. ; at least one language need to be defined here
  24. ; fist mention is default language
  25. languages=de,en
  26. ; content directories for different languages
  27. content.de=content/DE/
  28. content.en=content/EN/
  29. ;; HTML Template related:
  30. ;; ----------------------
  31. ;public directory for css, javascript, images etc.
  32. RESOURCES=rsc/
  33. ;default site template:
  34. template=tpl/index.html
  35. external_links_open_in_new_window=false