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 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. [globals]
  15. title=A paid service
  16. ;; (multilingual) content configuration
  17. ;; ------------------------------------
  18. ; comma seperated list of language identifiers
  19. ; at least one language need to be defined here
  20. ; fist mention is default language
  21. languages=de,en
  22. ; content directories for different languages
  23. content.de=content/DE/
  24. content.en=content/NO/
  25. content.no=content/NO/
  26. ; include a link to the Homepage above the menu
  27. ; [dev: translates to menuAddHome in Template (index.php)]
  28. nav.main.config.addHome=true
  29. nav.footer.config.addHome=false
  30. ;; HTML Template related:
  31. ;; ----------------------
  32. ;public directory for css, javascript, images etc.
  33. RESOURCES=rsc/
  34. ;default site template:
  35. template=tpl/index.html