istic-openstack/server/core/Plugin_Api.php
2016-01-27 13:10:04 +01:00

24 lines
348 B
PHP

<?php
//Init plugin directory
if (!defined('PLUGINS_DIR')) {
define('PLUGINS_DIR', RCUBE_INSTALL_PATH . 'plugins/');
}
class plugin_api{
static protected $instance;
protected function __construct(){
}
static function getInstance(){
if(!self::$instance){
self::$instance = new plugin_api();
}
return self::$instance;
}
}