{Semi-Resolved} MyBB 'Variable Scope' 101
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: {Semi-Resolved} MyBB 'Variable Scope' 101
Works perfectly fine here.

PHP Code:
1
2
3
4
5
6
7
8
<?php
define("IN_MYBB", 1);
require_once "./global.php";

// include file *after*  define("IN_MYBB...
require_once "./vars.php";

var_dump($local_hub, $major_hub, $global_hub, $npoints, $syncpath);

http://mybbhacks.zingaburga.com/example.php


My Blog
(This post was last modified: 09-24-2010 01:57 PM by ZiNgA BuRgA.)
09-24-2010 01:56 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: {Semi-Resolved} MyBB 'Variable Scope' 101 - ZiNgA BuRgA - 09-24-2010 01:56 PM

 Standard Tools
Forum Jump: