View Single Post
  #7  
Old 04-06-2007, 05:23 PM
Lars-Christian Lars-Christian is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Geek Article and Review System License Holder 
Default

Okay, I think I might have found an easier way. And for the reason that I've changed quite a few templates, I can't really upgrade, so I'm looking for another solution.

If I include this in global.php:

Code:
if (THIS_SCRIPT == 'gars')
{
	define('VBA_PORTAL', true);
	define('VBA_PAGE', 'include');
}
It should work. I just need to figure out what the statement to see if GARS is running or not up there needs to look like, as that one there doesn't work.

Last edited by Lars-Christian; 04-06-2007 at 05:48 PM..
Reply With Quote