blob: 28e14076af8cc65f987cd8b02a44e180f3c9651d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
//Init plugin directory
if (!defined('RCUBE_PLUGINS_DIR')) {
define('RCUBE_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;
}
}
|