issue96, move config check to phpfspot main class