git-svn-id: http://www.observium.org/svn/observer/trunk@196 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-03-23 00:10:15 +00:00
parent d17301405a
commit 899051be65
8 changed files with 56 additions and 34 deletions

View File

@@ -10,7 +10,7 @@ if($_POST['addsrv']) {
}
}
if ($handle = opendir($installdir . "/includes/services/")) {
if ($handle = opendir($config['installdir'] . "/includes/services/")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && !strstr($file, ".")) {
$servicesform .= "<option value='$file'>$file</option>";