Hard-coded Variables
From MoodleDocs
FRONTPAGECOURSELIMIT
If the list of courses option in Site Settings is no longer available, you've got more courses than the code allows for. This is controlled by the FRONTPAGECOURSELIMIT setting in /course/lib.php.