- //
- // Call special function defined in package install class
- //
- function support($name, $params = null)
- {
- $cachepath = $this->options['basedir'];
- if (file_exists("$cachepath/_init/init.php")) {
- include("$cachepath/_init/init.php");
- if (method_exists($installer, $name)) {
- set_include_path("$cachepath/_init".PATH_SEPARATOR.get_include_path());
-
- $ret = $installer->$name($params);
- return $ret;
- }
- }
- return true;
- }