replaced $addslashes() around $token and $token_typewith addslashes() line 156/157
drwxr-xr-x - docs