Changeset 20100 for trunk/FACT++


Ignore:
Timestamp:
05/07/21 20:56:22 (4 years ago)
Author:
tbretz
Message:
Minor fixes.
Location:
trunk/FACT++/www
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/schedule/save.php

    r20052 r20100  
    1818    $password = $_SERVER['PHP_AUTH_PW'];
    1919
    20     $con = @ldap_connect($ldaphost);
     20    $con = @ldap_connect("ldap://".$ldaphost);
    2121    if (!$con)
    2222        return "ldap_connect failed to ".$ldaphost;
     
    148148
    149149$measurements = array();
    150 while($row = $db->fetch_assoc($sql))
     150while($row = $sql->fetch_assoc())
    151151    $measurements[$row['fMeasurementTypeKey']] = $row;
    152152
  • trunk/FACT++/www/smartfact/index.php

    r18514 r20100  
    2222    $password = $_SERVER['PHP_AUTH_PW'];
    2323
    24     $con = @ldap_connect($ldaphost);
     24    $con = @ldap_connect("ldap://".$ldaphost);
    2525    if (!$con)
    2626        return "ldap_connect failed to ".$ldaphost;
Note: See TracChangeset for help on using the changeset viewer.