Update config.php

Added regular expression lines for prof and class, removed unneeded close-php