Announcement

Collapse
No announcement yet.

Is there a session variable that always has the currently loaded app?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a session variable that always has the currently loaded app?

    I have a need to take action in SC events depending on the name of the current app being executed. Does anyone know the variable name that always has this in SC?

  • #2
    you can use a PHP function.
    try:

    echo (basename($_SERVER['PHP_SELF']));

    i use this in every application in onScriptInit

    Comment


    • #3
      Super. Thanks

      Comment

      Working...
      X