<?php
/**
 * Plugin Name: Google Maps Easy
 * Plugin URI: http://supsystic.com/plugins/google-maps-plugin/
 * Description: The easiest way to create Google Map with markers or locations. Display any data on the map: text, images, videos. Custom map marker icons
 * Version: 1.9.17
 * Author: supsystic.com
 * Author URI: http://supsystic.com
 **/
	/**
	 * Base config constants and functions
	 */
    require_once(dirname(__FILE__). DIRECTORY_SEPARATOR. 'config.php');
    require_once(dirname(__FILE__). DIRECTORY_SEPARATOR. 'functions.php');
	/**
	 * Connect all required core classes
	 */
    importClassGmp('dbGmp');
    importClassGmp('installerGmp');
    importClassGmp('baseObjectGmp');
    importClassGmp('moduleGmp');
    importClassGmp('modelGmp');
    importClassGmp('viewGmp');
    importClassGmp('controllerGmp');
    importClassGmp('helperGmp');
    importClassGmp('dispatcherGmp');
    importClassGmp('fieldGmp');
    importClassGmp('tableGmp');
    importClassGmp('frameGmp');
	/**
	 * @deprecated since version 1.0.1
	 */
    importClassGmp('langGmp');
    importClassGmp('reqGmp');
    importClassGmp('uriGmp');
    importClassGmp('htmlGmp');
    importClassGmp('responseGmp');
    importClassGmp('fieldAdapterGmp');
    importClassGmp('validatorGmp');
    importClassGmp('errorsGmp');
    importClassGmp('utilsGmp');
    importClassGmp('modInstallerGmp');
	importClassGmp('installerDbUpdaterGmp');
	importClassGmp('dateGmp');
	/**
	 * Check plugin version - maybe we need to update database, and check global errors in request
	 */
    installerGmp::update();
    errorsGmp::init();
    /**
	 * Start application
	 */
    frameGmp::_()->parseRoute();
    frameGmp::_()->init();
    frameGmp::_()->exec();
	
	//var_dump(frameGmp::_()->getActivationErrors()); exit();
