common/components/Core.php
public function init() {

		parent::init();

		// Initialise core validators
		CoreValidator::initValidators();

		/** Set CMSGears alias to be used by all modules, plugins, widgets and themes.
		 * It will be located within the vendor directory for composer.
		 */
		Yii::setAlias( 'cmsgears', dirname( dirname( dirname( __DIR__ ) ) ) );
	}
public function init() {

		parent::init();

		// Initialise core validators
		CoreValidator::initValidators();

		/** Set CMSGears alias to be used by all modules, plugins, widgets and themes.
		 * It will be located within the vendor directory for composer.
		 */
		Yii::setAlias( 'cmsgears', dirname( dirname( dirname( __DIR__ ) ) ) );
	}
public function init ( ) { parent :: init ( ) ; // Initialise core validators CoreValidator :: initValidators ( ) ; /** Set CMSGears alias to be used by all modules, plugins, widgets and themes.
		 * It will be located within the vendor directory for composer.
		 */ Yii :: setAlias ( 'cmsgears' , dirname ( dirname ( dirname ( __DIR__ ) ) ) ) ; }
Initialise the CMG Core Component.
Initialise the CMG Core Component .