equal
deleted
inserted
replaced
1285 * @param string $password This should be unencrypted. |
1285 * @param string $password This should be unencrypted. |
1286 * @param string $email |
1286 * @param string $email |
1287 * @param string $real_name Optional, defaults to ''. |
1287 * @param string $real_name Optional, defaults to ''. |
1288 */ |
1288 */ |
1289 |
1289 |
1290 function create_user($username, $password, $email, $real_name = '') { |
1290 function create_user($username, $password, $email, $real_name = '') |
|
1291 { |
1291 global $db, $session, $paths, $template, $plugins; // Common objects |
1292 global $db, $session, $paths, $template, $plugins; // Common objects |
1292 |
1293 |
1293 // Initialize AES |
1294 // Initialize AES |
1294 $aes = new AESCrypt(AES_BITS, AES_BLOCKSIZE); |
1295 $aes = new AESCrypt(AES_BITS, AES_BLOCKSIZE); |
1295 |
1296 |