diff --git a/indefero/scripts/bootstrap.php b/indefero/scripts/bootstrap.php new file mode 100644 index 0000000..3b3dfe9 --- /dev/null +++ b/indefero/scripts/bootstrap.php @@ -0,0 +1,18 @@ +first_name = ''; +$user->last_name = 'Admin'; // Required! +$user->login = 'admin'; // must be lowercase! +$user->email = 'admin@example.com'; +$user->password = 'admin'; // the password is salted/hashed + // in the database, so do not worry :) +$user->administrator = true; +$user->active = true; +$user->create(); +print "Bootstrap ok\n"; +?> \ No newline at end of file