make web-class static

This file is used by index.php, please fix this.