File: Plugin.php

package info (click to toggle)
phppgadmin 4.2.3-1.1squeeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 5,396 kB
  • ctags: 6,174
  • sloc: php: 68,599; makefile: 215; sh: 41; sql: 16; awk: 9
file content (30 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download | duplicates (5)
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.2 2005/06/16 14:40:12 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');			
		}
	}

}

?>