Initial Commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2017 ThemePunch
|
||||
*/
|
||||
|
||||
if(!defined('ABSPATH')) exit();
|
||||
|
||||
require_once(RS_POLYFOLD_PLUGIN_PATH . 'framework/base.class.php');
|
||||
|
||||
class RsPolyfoldBase extends RsAddOnPolyfoldBase {
|
||||
|
||||
protected static $_PluginPath = RS_POLYFOLD_PLUGIN_PATH,
|
||||
$_PluginUrl = RS_POLYFOLD_PLUGIN_URL,
|
||||
$_PluginTitle = 'polyfold',
|
||||
$_FilePath = __FILE__,
|
||||
$_Version = '1.0.2';
|
||||
|
||||
public function __construct() {
|
||||
|
||||
//load the textdomain, if the plugin should be translateable
|
||||
parent::_loadPluginTextDomain();
|
||||
|
||||
// check to make sure all requirements are met
|
||||
$notice = $this->systemsCheck();
|
||||
if($notice) {
|
||||
|
||||
require_once(RS_POLYFOLD_PLUGIN_PATH . 'framework/notices.class.php');
|
||||
|
||||
new RsAddOnPolyfoldNotice($notice, static::$_PluginTitle);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
parent::loadClasses();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user