Error detected in config.php

Error in: $CFG->dirroot = '/home/infinitum/htdocs/Peternakan/elearning';

Try this: $CFG->dirroot = '/var/www/html/Peternakan/elearning';