Changeset 18520 for trunk/FACT++/www/schedule/save.php
- Timestamp:
- 06/23/16 18:04:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/schedule/save.php
r18517 r18520 12 12 global $groupDN; 13 13 14 if (!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])) 15 return "Unauthorized."; 16 14 17 $username = $_SERVER['PHP_AUTH_USER']; 15 18 $password = $_SERVER['PHP_AUTH_PW']; 16 17 if (!isset($username) || !isset($password))18 return "Unauthorized.";19 19 20 20 $con = @ldap_connect($ldaphost); … … 164 164 $last = $cut; 165 165 166 if (count($data)!=1 || !empty($data[0][0])) // empty schedule 166 167 foreach ($data as $row) 167 168 {
Note:
See TracChangeset
for help on using the changeset viewer.