If currentuser file_exists CFG- dirroot user add_inf php require_once

1
2
3
If ($currentuser && file_exists($CFG->dirroot . '/user/add_inf.php')){
require_once($CFG->dirroot . '/user/add_inf.php');
}