/**
  * init base variables of the globals
  */
 public static function initGlobalsBase($pluginFolder)
 {
     global $wpdb;
     GlobalsUG::$isScriptsInFooter = true;
     $tablePrefix = $wpdb->prefix;
     GlobalsUG::$table_galleries = $tablePrefix . GlobalsUG::TABLE_GALLERIES_NAME;
     GlobalsUG::$table_categories = $tablePrefix . GlobalsUG::TABLE_CATEGORIES_NAME;
     GlobalsUG::$table_items = $tablePrefix . GlobalsUG::TABLE_ITEMS_NAME;
     $pluginName = "unitegallery";
     GlobalsUG::$pathPlugin = realpath($pluginFolder) . "/";
     GlobalsUG::$path_media_ug = GlobalsUG::$pathPlugin . "unitegallery-plugin/";
     GlobalsUG::$path_base = ABSPATH;
     $arrUploadDir = wp_upload_dir();
     $pathImages = $arrUploadDir["basedir"];
     GlobalsUG::$path_images = realpath($pathImages) . "/";
     GlobalsUG::$path_cache = GlobalsUG::$pathPlugin . "cache/";
     GlobalsUG::$urlPlugin = plugin_dir_url($pluginFolder . "/unitegallery.php");
     GlobalsUG::$url_component_client = "";
     GlobalsUG::$url_component_admin = admin_url() . "admin.php?page={$pluginName}";
     GlobalsUG::$url_base = site_url() . "/";
     GlobalsUG::$url_media_ug = GlobalsUG::$urlPlugin . "unitegallery-plugin/";
     GlobalsUG::$url_images = content_url() . "/";
     GlobalsUG::$url_ajax = admin_url() . "/admin-ajax.php";
     GlobalsUG::$url_ajax_front = GlobalsUG::$url_ajax;
 }