Subversion Repositories stackman

Rev

Rev 8 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 9
Line 12... Line 12...
12
if (isset($stam_cfg['weblog2_system']) && !empty($stam_cfg['weblog2_system'])) {
12
if (isset($stam_cfg['weblog2_system']) && !empty($stam_cfg['weblog2_system'])) {
13
 
13
 
14
 
14
 
15
	$ent = rtrim($argv[1]);
15
	$ent = rtrim($argv[1]);
16
 
16
 
-
 
17
	if (isset($stam_cfg['weblog_password']) && !empty($stam_cfg['weblog_password'])) {
-
 
18
		$iv = 'AAAAAAAAAAAAAAAA';
-
 
19
		$ent = base64_encode(openssl_encrypt($ent, 'AES-128-CBC', $stam_cfg['weblog_password'], OPENSSL_RAW_DATA, $iv));
-
 
20
	}
-
 
21
 
17
# ---
22
# ---
18
 
23
 
19
 
24
 
20
	$oidplus_rest_auth = $stam_cfg['weblog2_auth'];
25
	$oidplus_rest_auth = $stam_cfg['weblog2_auth'];
21
 
26