use instance of instead of gettype
Merge branch 'master' of github.com:SleepingInsomniac/LXapi into pio

Conflicts:
	includes/LxApi/page.class.php
Return false instead of error