Bug vb_optimise::$isPro is missing

Status
Not open for further replies.

tyteen4a03

New member
I was looking through the code when I found that $isPro is missing from class_vboptimise. (To users: this bug means DBTech will not be able to verify your installation)

Here's a quick fix for users:
/dbtech/vboptimise/includes/class_vboptimise.php

Find: (L84)
Code:
	private static $guestcache = false;

Add below:

Code:
	/**
	* Whether we have the pro version or not
	*
	* @public	boolean
	*/		
	public static $isPro		= false;

Setting this variable to true by yourself will not give you pro ;)
 
The fix won't work without the code to also set it to true if Pro is detected :)

I've fixed it in a different way, referencing that variable was a mistake and was copypasta from when I took over vB Optimise. I've changed the main vboptimise.php file to fix the output :)
 
Status
Not open for further replies.

Similar threads

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,972
Customer rating
0.00 star(s) 0 ratings
Top