diff --git a/application/config/supervisor.php b/application/config/supervisor.php new file mode 100644 index 0000000..7357e8b --- /dev/null +++ b/application/config/supervisor.php @@ -0,0 +1,29 @@ + array( + 'url' => 'http://127.0.0.1/RPC2', + 'port' => '9001' + ), +); + +// Set timeout connecting to remote supervisord RPC2 interface +$config['timeout'] = 3; + +// Path to Redmine new issue url +$config['redmine_url'] = 'http://redmine.url/path_to_new_issue_url'; + +// Default Redmine assigne ID +$config['redmine_assigne_id'] = '69'; diff --git a/system/core/Common.php b/system/core/Common.php index 07534c5..633fc54 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -254,7 +254,9 @@ function &get_config($replace = array()) } } - return $_config[0] =& $config; + $_config[0] =& $config; + + return $_config[0]; } } @@ -561,4 +563,4 @@ function html_escape($var) } /* End of file Common.php */ -/* Location: ./system/core/Common.php */ \ No newline at end of file +/* Location: ./system/core/Common.php */