blob: 4043a6ebe8ab2967833ec8b4c188a67af570c64a (
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
25
26
27
28
29
30
|
<?php
/**
* A class that implements the plugin system
*
* $Id: Plugin.php,v 1.1.2.1 2005/05/11 15:48:03 chriskl Exp $
*/
class Plugin {
var $tabname = null;
var $config = null;
var $name = null;
/**
* Constructor
*/
function Plugin($name) {
$this->name = $name;
// Read in configuration
if ($this->config !== null) {
global $conf;
include('./conf/' . $name . '.inc.php');
}
}
}
?>
|