Announcement

Collapse
No announcement yet.

Problem after global.php is included

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

  • Problem after global.php is included

    Hello,

    I have a website that I am testing in a different subdirectory (dev/) than my forums (forums/). Getting global.php to include on the page is no problem...

    PHP Code:
    <?php 
    chdir
    ("/home/nykcity/public_html/forums/"); 
    require_once(
    './global.php'); 
    chdir("/home/nykcity/public_html/dev/"); 
    ?>




    However, if I go to my dev/index.php (where the ONLY reference to my vBulletin board is that one line up top)... I am taken to what looks like my FORUM'S index.php. When I remove that line, no problem, my site displays as normal. Any ideas?

    Thanks,
    -Phil

  • #2
    Nobody has a clue? :/

    Comment


    • #3
      Since this involves custom coding, try asking for help with this over at www.vbulletin.org.
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment


      • #4
        Ok, I will. Thanks.

        Comment

        Related Topics

        Collapse

        Working...
        X