Update helper.php

Replaced JPATH_BASE by JPATH_ROOT since they differ when calling these methods from administrator. JPATH_ROOT always prepends the system path to the Joomla! root folder, which was intented to be achived.