The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
global.php include issues
I'm not a PHP PRO ---
I am currently using <?php $curdir = getcwd (); chdir('/home/xxxxxx/public_html/forum'); require_once('/home/xxxxxxx/public_html/forum/global.php'); ?> in order to allow ppl to login into vb from my main page (non vb) but now i can not use simple include url (www.site.com?page=Staff) <?php $page = $_GET['page']; if (!empty($page)) { $page .= '.php'; i else { include('news.html'); } ?> when i delete global.php from require it works fine >< does anyone have any ideas? Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|