Log fix
This commit is contained in:
1 parent
45511fa822
commit
aef615e0b4
1 file changed
+2
-2
@@ -56,8 +56,8 @@ function ldap_add_user($username, $firstname, $lastname, $email, $password, $gro
|
||||
}
|
||||
function _log($str) {
|
||||
$time = date("[Y-m-d H:i:s.u]");
|
||||
file_put_contents("migration.log", $time .
|
||||
$str . "\n", FILE_APPEND);
|
||||
// relative to the file _log is in
|
||||
file_put_contents(dirname(__FILE__)."/migration.log", $time.$str."\n", FILE_APPEND);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user