Jump to content

My $GLOBALS aren't that global


barnie

Recommended Posts

I am using a collection of scripts which use templates. These templates are made accessible through one file.php containing  one line:

 

$GLOBALS['dossier'] = "templates";

 

This file is in the root directory of the site.

 

I want to use these templates for others sites.

 

How should I modify the $GLOBALS to be effective on other sites? If this is not possible, what other means are there to use my tamplates everywhere?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/132938-my-globals-arent-that-global/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.