Skip to content

Reference: Reserved Variables

tracend edited this page Jul 28, 2012 · 4 revisions

When extending KISSCMS (with plugins or just custom code) you need to keep an eye on these namespaces, already in use:

Session

  • $_SESSION["user"]
  • $_SESSION["admin"]
  • $_SESSION["oauth"], using the oauth plugin

Globals

  • $GLOBALS["db"]
  • $GLOBALS["config"]

Class names

  • Controller()
  • Model()
  • View() ...
Clone this wiki locally