![]() |
Is it safe to global $DB_site?
I'm wondering if it is safe to use global $DB_site or if it's better to require the needed file. If it is safer to use a require what files do I need to include to make my $DB_site connection work?
thanks! |
if you talking on functions
then yes its safe |
ok thanks :) and yes on a custom function within a new php file.
|
All times are GMT. The time now is 08:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|