}
/**
- * GetInstallDir() - get installation dir for the plugin
+ * getInstallDir() - get installation dir for the plugin
*
* @return the directory where the plugin should be linked.
*/
- function GetInstallDir () {
+ function getInstallDir() {
if (isset($this->installdir) && $this->installdir)
return $this->installdir;
else
require_once($filename);
$p_class = $p_name.'Plugin';
register_plugin (new $p_class) ;
- } else { //if we didn't found it in common/ it may be an old plugin that has it's files in include/
+ } else { //if we didn't find it in common/ it may be an old plugin that has its files in include/
$filename = $include_path . '/' . $p_name . "/include/".$p_name."-init.php" ;
if (file_exists ($filename)) {
require_once ($filename) ;
</tr>';
}
-echo $HTML->boxBottom();
+echo $GLOBALS['HTML']->listTableBottom();
site_project_footer(array());
'box' => array('name' => 'bpx', 'type' => 'xsd:string'),
'root' => array('name' => 'root', 'type' => 'xsd:string'),
'module' => array('name' => 'module', 'type' => 'xsd:string'),
- 'connection_string' => array('connection_string' => 'module', 'type' => 'xsd:string')
+ 'connection_string' => array('name' => 'connection_string', 'type' => 'xsd:string')
)
);
array(
'artifact_query_id' => array('name' => 'artifact_query_id', 'type' => 'xsd:int'),
'name' => array('name' => 'query_name', 'type' => 'xsd:string'),
- 'fields' => array('fields' => 'query_name', 'type' => 'tns:ArtifactQueryFields')
+ 'fields' => array('name' => 'fields', 'type' => 'tns:ArtifactQueryFields')
)
);
require_once $gfcommon.'include/pre.php';
require_once $gfcommon.'include/User.class.php';
-$expl_pathinfo = explode('/', getStringFromServer('REQUEST_URI'));
+$normalized_urlprefix = normalized_urlprefix();
+$pathinfo = substr_replace(getStringFromServer('REQUEST_URI'), '', 0, strlen($normalized_urlprefix)-1);
+$expl_pathinfo = explode('/', $pathinfo);
if (!$expl_pathinfo[2]) {
exit_error(_('No User Name Provided'));
//system("ssh root@centos52 'perl -spi -e \'s!^auto_prepend_file.*!auto_prepend_file=/opt/tests/prepend.php!\' /etc/php.ini');
//system("ssh root@centos52 'perl -spi -e \'s!^auto_append_file.*!auto_append_file=/opt/tests/append.php!\' /etc/php.ini');
+ system("ssh root@centos52 'service crond stop'");
}
protected function tearDown()