public function __construct()
 {
     if (!class_exists('Rsc_Autoloader', false)) {
         require dirname(dirname(__FILE__)) . '/vendor/Rsc/Autoloader.php';
         Rsc_Autoloader::register();
     }
     $pluginPath = dirname(dirname(__FILE__));
     $environment = new Rsc_Environment('sss', '0.1', $pluginPath);
     /* Configure */
     $environment->configure(array('optimizations' => 1, 'environment' => $this->getPluginEnvironment(), 'default_module' => 'projects', 'lang_domain' => 'social_sharing', 'lang_path' => plugin_basename(dirname(__FILE__)) . '/langs', 'plugin_prefix' => 'SocialSharing', 'plugin_source' => $pluginPath . '/src', 'plugin_menu' => array('page_title' => __('Social Share by Supsystic', 'supsystic-social-sharing'), 'menu_title' => __('Social Share by Supsystic', 'supsystic-social-sharing'), 'capability' => 'manage_options', 'menu_slug' => 'supsystic-social-sharing', 'icon_url' => 'dashicons-share', 'position' => '101.8'), 'shortcode_name' => 'grid-gallery', 'db_prefix' => 'supsystic_ss_', 'hooks_prefix' => 'supsystic_ss_', 'ajax_url' => admin_url('admin-ajax.php'), 'admin_url' => admin_url(), 'uploads_rw' => true, 'jpeg_quality' => 95, 'plugin_db_update' => true, 'revision' => 130));
     $this->environment = $environment;
 }
Example #2
0
 public function __construct()
 {
     if (!class_exists('Rsc_Autoloader', false)) {
         require dirname(dirname(__FILE__)) . '/vendor/Rsc/Autoloader.php';
         Rsc_Autoloader::register();
     }
     $pluginPath = dirname(dirname(__FILE__));
     $environment = new Rsc_Environment('st', '1.0.8', $pluginPath);
     /* Configure */
     $environment->configure(array('optimizations' => 1, 'environment' => $this->getPluginEnvironment(), 'default_module' => 'tables', 'lang_domain' => 'supsystic_tables', 'lang_path' => plugin_basename(dirname(__FILE__)) . '/langs', 'plugin_prefix' => 'SupsysticTables', 'plugin_source' => $pluginPath . '/src', 'plugin_menu' => array('page_title' => __('Tables by Supsystic', 'supsystic-tables'), 'menu_title' => __('Tables by Supsystic', 'supsystic-tables'), 'capability' => 'manage_options', 'menu_slug' => 'supsystic-tables', 'icon_url' => '', 'position' => '102.2'), 'shortcode_name' => defined('SUPSYSTIC_TABLES_SHORTCODE_NAME') ? SUPSYSTIC_TABLES_SHORTCODE_NAME : 'supsystic-tables', 'db_prefix' => 'supsystic_tbl_', 'hooks_prefix' => 'supsystic_tbl_', 'ajax_url' => admin_url('admin-ajax.php'), 'admin_url' => admin_url(), 'plugin_db_update' => true, 'revision_key' => '_supsystic_tables_rev', 'revision' => 11));
     $this->environment = $environment;
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     if (!class_exists('Rsc_Autoloader', false)) {
         require dirname(dirname(__FILE__)) . '/vendor/Rsc/Autoloader.php';
         Rsc_Autoloader::register();
     }
     add_action('init', array($this, '_loadPluginsTextdomain'));
     add_action('init', array($this, 'addShortcodeButton'));
     /* Create new plugin instance */
     $pluginPath = dirname(dirname(__FILE__));
     $environment = new Rsc_Environment('ssl', '1.4.6', $pluginPath);
     /* Configure */
     $environment->configure(array('environment' => $this->getPluginEnvironment(), 'default_module' => 'slider', 'default_slider' => 'bx', 'lang_domain' => 'supsystic-slider', 'lang_path' => plugin_basename(dirname(__FILE__)) . '/langs', 'plugin_prefix' => 'SupsysticSlider', 'plugin_source' => dirname(dirname(__FILE__)) . '/src', 'plugin_menu' => array('page_title' => __('Slider by Supsystic', 'supsystic-slider'), 'menu_title' => __('Slider by <br/> Supsystic', 'supsystic-slider'), 'capability' => 'manage_options', 'menu_slug' => 'supsystic-slider', 'icon_url' => 'dashicons-format-gallery', 'position' => '100.4'), 'shortcode_name' => 'supsystic-slider', 'db_prefix' => 'rs_', 'hooks_prefix' => 'ss_', 'page_url' => 'http://supsystic.com/plugins/slider', 'ajax_url' => admin_url('admin-ajax.php'), 'ajax_action' => 'supsystic-slider', 'admin_url' => admin_url(), 'uploads_rw' => true, 'jpeg_quality' => 95, 'plugin_db_update' => true, 'revision' => 235));
     $this->environment = $environment;
     $this->alerts = array();
     $this->initialize();
     if (!defined('S_YOUR_SECRET_HASH_' . $environment->getPluginName())) {
         define('S_YOUR_SECRET_HASH_' . $environment->getPluginName(), 'hn48SgUyMN53#jhg7@pomnE9W2O#2m@awmMneuGW3512F@jnkj');
     }
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     if (!class_exists('Rsc_Autoloader', false)) {
         require dirname(dirname(__FILE__)) . '/vendor/Rsc/Autoloader.php';
         Rsc_Autoloader::register();
     }
     add_action('init', array($this, '_loadPluginsTextdomain'));
     add_action('init', array($this, 'addShortcodeButton'));
     /* Create new plugin $environment */
     $pluginPath = dirname(dirname(__FILE__));
     $environment = new Rsc_Environment('sgg', '1.6.7', $pluginPath);
     /* Configure */
     $environment->configure(array('optimizations' => 0, 'environment' => $this->getPluginEnvironment(), 'default_module' => 'galleries', 'lang_domain' => 'sgg', 'lang_path' => plugin_basename(dirname(__FILE__)) . '/langs', 'plugin_prefix' => 'GridGallery', 'plugin_source' => dirname(dirname(__FILE__)) . '/src', 'plugin_title_name' => 'Photo Gallery by Supsystic', 'plugin_menu' => array('page_title' => __('Gallery by Supsystic', 'sgg'), 'menu_title' => __('Gallery by Supsystic', 'sgg'), 'capability' => 'manage_options', 'menu_slug' => 'supsystic-gallery', 'icon_url' => 'dashicons-format-gallery', 'position' => '100.3'), 'shortcode_name' => 'supsystic-gallery', 'db_prefix' => 'sg_', 'hooks_prefix' => 'sg_', 'page_url' => 'http://supsystic.com/plugins/photo-gallery/', 'ajax_url' => admin_url('admin-ajax.php'), 'admin_url' => admin_url(), 'uploads_rw' => true, 'jpeg_quality' => 95, 'plugin_db_update' => true, 'revision' => 244, 'welcome_page_was_showed' => get_option('sg_welcome_page_was_showed'), 'promo_controller' => 'GridGallery_Promo_Controller'));
     if (!defined('S_YOUR_SECRET_HASH_' . $environment->getPluginName())) {
         define('S_YOUR_SECRET_HASH_' . $environment->getPluginName(), 'hn48SgUyMN53#jhg7@pomnE9W2O#2m@awmMneuGW3512F@jnkj');
     }
     $this->environment = $environment;
     $this->alerts = array();
     $this->initialize();
 }