Ooopsie. I was including from inside a function :(

On Mon, Nov 2, 2009 at 9:15 AM, Julien C <[email protected]> wrote:
> Hi,
>
> I'm calling an external PHP application (which works just fine on its
> own) from inside StatusNet w/ the plugin system.
> For the sake of the example, the external application could be
> MediaWiki, Wordpress, etc.
>
> However, the variables defined as globals (global keyword) in the
> second script "lose their values" and get NULLed.
>
> I can change all global definitions to $GLOBALS[] but it's of course a
> bit tedious.
>
> Anyone has an idea why that might be ?
>
> Cheers,
>
> Julien
>
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to