![]() |
vB 4.1.0 logs user out automatically
Hi,
I have a vB powered site, was working fine on 4.0.6 and upgraded to 4.1.0 today. Site is still working, but I am using some Javascript that load data into the document via a direct call of a script that uses some vB code. My php script starts with: PHP Code:
The only thing I want to be able to use is the $db object.... Any help is very much appreciated. Thanks, Taco |
Use this:
PHP Code:
|
By changing
define('THIS_SCRIPT', 'test'); //init VB // require_once(CWD.'/includes/init.php'); chdir(CWD); require_once('./global.php'); I got it all working. Thanks ! |
All times are GMT. The time now is 10:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|