initial commit of file from CVS for smeserver-wordpress on Sat Sep 7 21:15:59 AEST 2024
This commit is contained in:
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
wordpress
|
@@ -0,0 +1 @@
|
||||
wordpress
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
Wordpress weblog
|
@@ -0,0 +1 @@
|
||||
global
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
en
|
@@ -0,0 +1 @@
|
||||
enabled
|
10
root/etc/e-smith/db/configuration/migrate/80wordpress
Normal file
10
root/etc/e-smith/db/configuration/migrate/80wordpress
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
use MIME::Base64 qw(encode_base64);
|
||||
|
||||
my $rec = $DB->get('wordpress') || $DB->new_record('wordpress', {type => 'service'});
|
||||
|
||||
my $pw = $rec->prop('DbPassword');
|
||||
return "" if $pw;
|
||||
|
||||
$rec->set_prop('DbPassword', sprintf("%15.0f", int( (1000000000000000) * rand() )));
|
||||
}
|
Reference in New Issue
Block a user