blob: 89f82fb6da9faeabd41cc168bad98a5ec28415f2 (
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('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;
}
}
|