Update client.inc.php incorrect behaviour in offline mode

With ./, if called from knowledge base, it searches incorrectly offline.php in that folder.
Update client.inc.php
Merge remote branch 'sabas/patch-1'