summaryrefslogtreecommitdiff
path: root/server/core/Plugin_Api.php
blob: 20ffd0c86bc1525d8dd727b20dc475f1f668381a (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', 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;
	}
}