Announcement

Collapse
No announcement yet.

Is it safe to global $DB_site?

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

  • Is it safe to global $DB_site?

    Hey there. I'm relatively new to coding in Vbulletin 3 and I was just wondering if it was safe to make $DB_site global?

    I have tried require_once ("global.php"); but this didn't work and I'm concerned with security matters. Thanks for all the help!
    Last edited by SonnetCelestial; Wed 2nd Feb '05, 12:11am.

  • #2
    Ok.. though it worked once I used require instead of require_once but it was still using a cached copy of the script.

    Anyways I'm at a loss as to how to do this and may just post on vbulletin.org
    Last edited by SonnetCelestial; Wed 2nd Feb '05, 12:22am.

    Comment

    Loading...
    Working...
    X