defined('_JEXEC') --> defined('JPATH_PLATFORM')