Moving common_init_locale() to the only file where it is used.
PSR2 conventions
$huburi was not defined for all execution paths.