Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions application/config/supervisor.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

// Dashboard columns. 2 or 3
$config['supervisor_cols'] = 2;

// Refresh Dashboard every x seconds. 0 to disable
$config['refresh'] = 10;

// Enable or disable Alarm Sound
$config['enable_alarm'] = false;

// Show hostname after server name
$config['show_host'] = false;

$config['supervisor_servers'] = array(
'box' => 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';
6 changes: 4 additions & 2 deletions system/core/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ function &get_config($replace = array())
}
}

return $_config[0] =& $config;
$_config[0] =& $config;

return $_config[0];
}
}

Expand Down Expand Up @@ -561,4 +563,4 @@ function html_escape($var)
}

/* End of file Common.php */
/* Location: ./system/core/Common.php */
/* Location: ./system/core/Common.php */