0
Welcome Guest! Login
0 items Join Now

How to access Joomla global variables from non-Joomla sub-directory

  • How to access Joomla global variables from non-Joomla sub-directory

    Posted 17 years 6 months ago
    • Hi there,

      This is probably 100% newbie question with a simple answer...but anyway....

      I've created a custom dir located in joomla root dir with a custom PHP file (file.php), but I do not know
      how to call/access global Joomla variables $databse and $my directly from my custom file "file.php".

      joomla-root-dir/my-custom-dir/file.php

      what code do I need to include (<?php include ...?>) into the "file.php" if I want to access
      global Joomla variables $database and $my?

      Best regards,

      Emille

Time to create page: 0.045 seconds